]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Fix `enforce-first-as` per peer-group removal
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:28:52 +0000 (13:28 +0200)
commitd893a04df675030363cd348b74a44cabdb765721
tree3fee302b80e47caae461456f9be0a0a297e06990
parent9e3f285d2e3218a81f94082c9849a025cd9ed9fd
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