diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-18 17:54:16 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-07-18 17:58:05 +0200 |
commit | fc395620cc8dd68063a4a563f1f0b7b4a84457c5 (patch) | |
tree | 4ca3ec756a24a6c48b2d5cc07ff87a5f71b789a7 /src/conf_mode/interfaces-macsec.py | |
parent | 8f20f18ad9b7724821f884c5109bdee7782c3a82 (diff) | |
download | vyos-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 'src/conf_mode/interfaces-macsec.py')
0 files changed, 0 insertions, 0 deletions