1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix slaac filter (#17551)

This commit is contained in:
Joshua Elsasser 2016-09-17 14:52:10 -07:00 committed by Michael Scherer
parent 02cec7dca9
commit fa5f8a7543

View file

@ -608,7 +608,7 @@ def slaac(value, query = ''):
elif vtype == 'network':
v = ipaddr(value, 'subnet')
if v.version != 6:
if ipaddr(value, 'version') != 6:
return False
value = netaddr.IPNetwork(v)