]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Treat the peer as not active due to BFD down only if established
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 2 Apr 2025 14:24:09 +0000 (17:24 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 2 Apr 2025 14:24:09 +0000 (17:24 +0300)
commitda4a7b0356fa2f4a711b87ae9e38bc6bc44fb523
treec27f631a5c6cb4aa59b268dcabbb4d00a9edcbd7
parentd10b08e4e85437c735861ace05e6d69a95407f02
bgpd: Treat the peer as not active due to BFD down only if established

If we have `neighbor X bfd` and BFD status is DOWN and/or ADMIN_DOWN, and BGP
session is not yet established, we never allow the session to establish.

Let's fix this regression that was in 10.2.

Fixes: 1fb48f5 ("bgpd: Do not start BGP session if BFD profile is in shutdown state")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgpd.c