mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 04:36:45 +00:00
bgpd: do not unregister bfd session when bgp session goes down
This commit fixes a previous commit: "bfdd: remove operational bfd sessions from remote daemons" where the handling of unregister call triggers the deletion of bfd session. Actually, the BFD session should not be deleted, while bgp session is configured with BGP. this permits to receive BFD events up, and permit quicker reconnecion. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
a9179f571d
commit
b83a6e054c
@ -1115,8 +1115,6 @@ int bgp_stop(struct peer *peer)
|
||||
|
||||
/* Reset peer synctime */
|
||||
peer->synctime = 0;
|
||||
|
||||
bgp_bfd_deregister_peer(peer);
|
||||
}
|
||||
|
||||
/* stop keepalives */
|
||||
|
Loading…
Reference in New Issue
Block a user