diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-06-03 15:40:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 15:40:08 +0200 |
commit | 9017dad232c00ed10347ff9b1adec3324b3bff71 (patch) | |
tree | 48c377de22642ede9512719f44fb9a4f7d0d07eb /src/conf_mode | |
parent | d2d8dd1de6e52b7835a0030f42f808433282eea8 (diff) | |
parent | 32cf35146353515fbdfc96adc552e8bb8e7ce21a (diff) | |
download | vyos-1x-1.4.0.tar.gz vyos-1x-1.4.0.zip |
Merge pull request #3580 from vyos/mergify/bp/sagitta/pr-35791.4.0
bfd: T6440: BFD peer length typo (backport #3579)
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 |