diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-06 18:15:26 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-06 18:15:26 +0100 |
commit | 438fbca0240bdf0a8b34bf7698f7145c7d1b9c22 (patch) | |
tree | faa43570bfea22679fe8ad326c68771e30a48cd2 /src | |
parent | d247736f67cc056062b75a4215a031bebcfee2ee (diff) | |
download | vyos-1x-438fbca0240bdf0a8b34bf7698f7145c7d1b9c22.tar.gz vyos-1x-438fbca0240bdf0a8b34bf7698f7145c7d1b9c22.zip |
dhcpv6-relay: T3095: is_ipv6_link_local() now supports a prefix length
Diffstat (limited to 'src')
-rwxr-xr-x | src/conf_mode/dhcpv6_relay.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/dhcpv6_relay.py b/src/conf_mode/dhcpv6_relay.py index cf8a26674..aea2c3b73 100755 --- a/src/conf_mode/dhcpv6_relay.py +++ b/src/conf_mode/dhcpv6_relay.py @@ -69,7 +69,7 @@ def verify(relay): for interface in relay['listen_interface']: has_global = False for addr in Interface(interface).get_addr(): - if not is_ipv6_link_local(addr.split('/')[0]): + if not is_ipv6_link_local(addr): has_global = True if not has_global: raise ConfigError(f'Interface {interface} does not have global '\ |