Duplicate pull #2803 in ipv6, fixing setup module's handling of venet & unknown interface types.

reviewable/pr18780/r1
rektide 12 years ago
parent b0794ff5f6
commit 351bcf24cf

@ -1157,7 +1157,7 @@ class LinuxNetwork(Network):
default_ipv6['scope'] = scope
default_ipv6['macaddress'] = macaddress
default_ipv6['mtu'] = interfaces[device]['mtu']
default_ipv6['type'] = interfaces[device]['type']
default_ipv6['type'] = interfaces[device].get("type", "unknown")
if not address == '::1':
ips['all_ipv6_addresses'].append(address)

Loading…
Cancel
Save