diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-06-03 15:08:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 15:08:01 +0200 |
commit | 38fd6b2c4964a7385b2b366a15af4676075b045e (patch) | |
tree | b37ab8a6c7d7da0bfcd1dc98a0014d6b28eba3f1 /src/conf_mode | |
parent | 3e5cc0b7fb8ae4a0f8b7c9270d9db0a0f252c448 (diff) | |
parent | 5490c76f9b9f53751fc527f455090f0a3820e8fe (diff) | |
download | vyos-1x-38fd6b2c4964a7385b2b366a15af4676075b045e.tar.gz vyos-1x-38fd6b2c4964a7385b2b366a15af4676075b045e.zip |
Merge pull request #3579 from h5t4/current
bfd: T6440: BFD peer length typo
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/protocols_bfd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_bfd.py b/src/conf_mode/protocols_bfd.py index 1c01a9013..1361bb1a9 100755 --- a/src/conf_mode/protocols_bfd.py +++ b/src/conf_mode/protocols_bfd.py @@ -49,7 +49,7 @@ def verify(bfd): for peer, peer_config in bfd['peer'].items(): # IPv6 link local peers require an explicit local address/interface if is_ipv6_link_local(peer): - if 'source' not in peer_config or len(peer_config['source'] < 2): + if 'source' not in peer_config or len(peer_config['source']) < 2: raise ConfigError('BFD IPv6 link-local peers require explicit local address and interface setting') # IPv6 peers require an explicit local address |