summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/vyos/validate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/validate.py b/python/vyos/validate.py
index 8ffef64fa..b6d8f23b8 100644
--- a/python/vyos/validate.py
+++ b/python/vyos/validate.py
@@ -58,6 +58,7 @@ def is_ipv6_link_local(addr):
"""
if is_ipv6(addr):
+ addr = addr.split('%')[0]
if ipaddress.IPv6Address(addr).is_link_local:
return True