]> git.puffer.fish Git - mirror/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>
Sat, 21 Dec 2024 15:04:30 +0000 (17:04 +0200)
commitb6dcf618777bb7a11176617d647e16ab64f49b7b
treea4384865705d516ef247729d2694c5290fea73a0
parentf7fcc4429223798dd22100cd39620eabd0856244
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