Fix slaac filter (#17551)
This commit is contained in:
committed by
Michael Scherer
parent
02cec7dca9
commit
fa5f8a7543
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user