mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
commit
972fa2fb54
1 changed files with 2 additions and 1 deletions
|
@ -415,7 +415,8 @@ def _interfaces_ip(out):
|
|||
brd = cols[cols.index('brd') + 1]
|
||||
elif type_ == 'inet6':
|
||||
mask = cidr
|
||||
scope = cols[cols.index('scope') + 1]
|
||||
if 'scope' in cols:
|
||||
scope = cols[cols.index('scope') + 1]
|
||||
return (ip, mask, brd, scope)
|
||||
|
||||
groups = re.compile('\r?\n\\d').split(out)
|
||||
|
|
Loading…
Add table
Reference in a new issue