mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-16 09:55:26 -07:00
Fix slaac filter (#17551)
This commit is contained in:
parent
02cec7dca9
commit
fa5f8a7543
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,7 @@ def slaac(value, query = ''):
|
||||||
elif vtype == 'network':
|
elif vtype == 'network':
|
||||||
v = ipaddr(value, 'subnet')
|
v = ipaddr(value, 'subnet')
|
||||||
|
|
||||||
if v.version != 6:
|
if ipaddr(value, 'version') != 6:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
value = netaddr.IPNetwork(v)
|
value = netaddr.IPNetwork(v)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue