diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-04-19 03:39:49 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-19 03:39:49 +0300 |
| commit | 95128a75f79474c36e1fb9b8d742d4d7ca5049aa (patch) | |
| tree | ec4c69e978c89ab67afe88857cf5f97d741aff5d | |
| parent | 646bf178de61158dc06b40d666e5d0d071b47bfb (diff) | |
| parent | ab73284535ce24bd2f2c2b73a9841cf075f906b0 (diff) | |
Merge pull request #18682 from lawli3t/frr-10.2.2-backportstable/10.2
bgpd: Treat the peer as not active due to BFD down only if established (backport #18562)
| -rw-r--r-- | bgpd/bgpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.c b/bgpd/bgpd.c index 0601400afd..f6b8abd9cc 100644 --- a/bgpd/bgpd.c +++ b/bgpd/bgpd.c @@ -4648,7 +4648,7 @@ bool peer_active(struct peer *peer) return false; if (peer->bfd_config) { - if (bfd_session_is_down(peer->bfd_config->session)) + if (peer_established(peer->connection) && bfd_session_is_down(peer->bfd_config->session)) return false; } |
