Duplicate pull #2803 in ipv6, fixing setup module's handling of venet & unknown interface types.
This commit is contained in:
parent
b0794ff5f6
commit
351bcf24cf
1 changed files with 1 additions and 1 deletions
|
@ -1157,7 +1157,7 @@ class LinuxNetwork(Network):
|
||||||
default_ipv6['scope'] = scope
|
default_ipv6['scope'] = scope
|
||||||
default_ipv6['macaddress'] = macaddress
|
default_ipv6['macaddress'] = macaddress
|
||||||
default_ipv6['mtu'] = interfaces[device]['mtu']
|
default_ipv6['mtu'] = interfaces[device]['mtu']
|
||||||
default_ipv6['type'] = interfaces[device]['type']
|
default_ipv6['type'] = interfaces[device].get("type", "unknown")
|
||||||
|
|
||||||
if not address == '::1':
|
if not address == '::1':
|
||||||
ips['all_ipv6_addresses'].append(address)
|
ips['all_ipv6_addresses'].append(address)
|
||||||
|
|
Loading…
Reference in a new issue