mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Default interface type to ipv4 when checking flags for Solaris
Fixes #8330
This commit is contained in:
parent
bc2099b1ab
commit
74cbeb1292
1 changed files with 1 additions and 2 deletions
|
@ -2042,7 +2042,6 @@ class SunOSNetwork(GenericBsdIfconfigNetwork, Network):
|
||||||
else:
|
else:
|
||||||
current_if = interfaces[device]
|
current_if = interfaces[device]
|
||||||
flags = self.get_options(words[1])
|
flags = self.get_options(words[1])
|
||||||
if 'IPv4' in flags:
|
|
||||||
v = 'ipv4'
|
v = 'ipv4'
|
||||||
if 'IPv6' in flags:
|
if 'IPv6' in flags:
|
||||||
v = 'ipv6'
|
v = 'ipv6'
|
||||||
|
|
Loading…
Reference in a new issue