summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-18 17:54:16 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-18 17:58:05 +0200
commitfc395620cc8dd68063a4a563f1f0b7b4a84457c5 (patch)
tree4ca3ec756a24a6c48b2d5cc07ff87a5f71b789a7 /interface-definitions
parent8f20f18ad9b7724821f884c5109bdee7782c3a82 (diff)
downloadvyos-1x-fc395620cc8dd68063a4a563f1f0b7b4a84457c5.tar.gz
vyos-1x-fc395620cc8dd68063a4a563f1f0b7b4a84457c5.zip
bgp: T4490: check peer-group for AFI/SAFI before issuing warning
Commit 6cffe2aa82 ("bgp: T4490: Add informational message for peer withour AFI") only checked if an address-family is configured under the neighbor statement. This is not enough as the AFI can also be specified via a peer-group. Add a new verify_afi() helper that checks both the neighbor and the assigned peer-group.
Diffstat (limited to 'interface-definitions')
0 files changed, 0 insertions, 0 deletions