]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix `enforce-first-as` per peer-group removal 17714/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Sat, 21 Dec 2024 15:03:14 +0000 (17:03 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Sun, 22 Dec 2024 11:30:10 +0000 (13:30 +0200)
commit327d08bebbc001e4cff0e22cf362f05e86b3ba3e
tree3ce6572597e5171bab6bfdf3e98fee5c803851b6
parenta2c3cfa5ef8f4bd6924e603cfbded8f0ea92d088
bgpd: Fix `enforce-first-as` per peer-group removal

If we do `no neighbor PG enforce-first-as`, it wasn't working because the flag
was inherited incorrectly for the members of the peer-group.

Fixes: 322462920e2a2c8b73191c6eb5157d64cf4a593e ("bgpd: Enable enforce-first-as by default")
Closes: https://github.com/FRRouting/frr/issues/17702
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_vty.c
bgpd/bgpd.c