mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #2832 from rektide/fix-openvz-venet-ipv6
Fix setup module's handling of venet & unknown ipv6 interfaces
This commit is contained in:
commit
7cd1bc9628
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue