diff --git a/salt/utils/network.py b/salt/utils/network.py index ddaebffb34..c4ec8e835f 100644 --- a/salt/utils/network.py +++ b/salt/utils/network.py @@ -171,7 +171,7 @@ def _interfaces_ip(out): for line in group.splitlines(): if not ' ' in line: continue - match = re.match(r'^\d*:\s+([\w.-]+)(?:@)?([\w.-]+)?:\s+<(.+)>', line) + match = re.match(r'^\d*:\s+([\w.\-]+)(?:@)?([\w.\-]+)?:\s+<(.+)>', line) if match: iface, parent, attrs = match.groups() if 'UP' in attrs.split(','):