mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Default interface type to ipv4 when checking flags for Solaris
Fixes #8330
This commit is contained in:
@@ -2042,8 +2042,7 @@ class SunOSNetwork(GenericBsdIfconfigNetwork, Network):
|
||||
else:
|
||||
current_if = interfaces[device]
|
||||
flags = self.get_options(words[1])
|
||||
if 'IPv4' in flags:
|
||||
v = 'ipv4'
|
||||
v = 'ipv4'
|
||||
if 'IPv6' in flags:
|
||||
v = 'ipv6'
|
||||
current_if[v].append({'flags': flags, 'mtu': words[3]})
|
||||
|
||||
Reference in New Issue
Block a user