diff options
author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-06-18 13:42:59 +0200 |
---|---|---|
committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2020-06-18 21:51:13 +0200 |
commit | 4aa283cd4e9976e98c9e0f44f240ffa5e5bb8607 (patch) | |
tree | 6a77c095c47804c78b6b869ef25de7ab90daf965 /bgpd/bgp_bfd.c | |
parent | topotests: bump BFD test convergence time (diff) | |
download | frr-4aa283cd4e9976e98c9e0f44f240ffa5e5bb8607.tar.xz frr-4aa283cd4e9976e98c9e0f44f240ffa5e5bb8607.zip |
bgpd: attempt to fix test convergence failure
Don't reset BFD peer on BGP session establishment.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'bgpd/bgp_bfd.c')
-rw-r--r-- | bgpd/bgp_bfd.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/bgpd/bgp_bfd.c b/bgpd/bgp_bfd.c index a200589bd..1be7eff56 100644 --- a/bgpd/bgp_bfd.c +++ b/bgpd/bgp_bfd.c @@ -207,15 +207,9 @@ static void bgp_bfd_update_peer(struct peer *peer) */ void bgp_bfd_reset_peer(struct peer *peer) { - struct bfd_info *bfd_info; - if (!peer->bfd_info) return; - bfd_info = (struct bfd_info *)peer->bfd_info; - /* if status is not down, reset bfd */ - if (bfd_info->status != BFD_STATUS_DOWN) - bgp_bfd_peer_sendmsg(peer, ZEBRA_BFD_DEST_DEREGISTER); bgp_bfd_peer_sendmsg(peer, ZEBRA_BFD_DEST_REGISTER); } |