mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 20:18:56 +00:00
bgpd: upon peer unconfiguration, remove bfd context if any
upon peer unconfiguration, remove bfd context if necessary. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
b1c2b440c9
commit
e8ba52931a
@ -2232,6 +2232,8 @@ int peer_delete(struct peer *peer)
|
|||||||
|
|
||||||
SET_FLAG(peer->flags, PEER_FLAG_DELETE);
|
SET_FLAG(peer->flags, PEER_FLAG_DELETE);
|
||||||
|
|
||||||
|
bgp_bfd_deregister_peer(peer);
|
||||||
|
|
||||||
/* If this peer belongs to peer group, clear up the
|
/* If this peer belongs to peer group, clear up the
|
||||||
relationship. */
|
relationship. */
|
||||||
if (peer->group) {
|
if (peer->group) {
|
||||||
|
Loading…
Reference in New Issue
Block a user