summaryrefslogtreecommitdiff
path: root/python/vyos/util.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-10-25 22:33:33 +0200
committerChristian Poessinger <christian@poessinger.com>2018-10-25 22:35:50 +0200
commitde131151b2c52c6d91ce586066433e7c0afc2080 (patch)
tree28f447fe7be1b71980049dbec2c2782449ca8d7f /python/vyos/util.py
parent4029814a1ee22d02748ab92e01c357c66a9f9137 (diff)
downloadvyos-1x-de131151b2c52c6d91ce586066433e7c0afc2080.tar.gz
vyos-1x-de131151b2c52c6d91ce586066433e7c0afc2080.zip
T937: proper handle IPv6 link-local addresses in vyos.validate module
The problem is that some IPv6 addresses reported by the system (mainly link-local addresses) contain an interface suffix like %eth0, this was not properly handeled in the validator script. Remove any given interface attribute on passed IPv6 addresses. If no interface suffix is added - there is no problem.
Diffstat (limited to 'python/vyos/util.py')
0 files changed, 0 insertions, 0 deletions