]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: do not unregister bfd session when bgp session goes down 4144/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 May 2019 14:39:20 +0000 (16:39 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 14 May 2019 14:50:01 +0000 (16:50 +0200)
commitb83a6e054c22f5d0c6a9385a360833bd799440a4
tree894dae4d58fce2777190eed4b3a7c31a5fe37436
parenta9179f571d396e09760ac66de7a4f72bf2a86ac5
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>
bgpd/bgp_fsm.c