mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-22 08:14:35 +00:00
Merge pull request #17488 from FRRouting/mergify/bp/stable/10.2/pr-17487
bgpd: Do not reset peers on suppress-fib toggling (backport #17487)
This commit is contained in:
commit
c9975e1525
@ -462,6 +462,10 @@ void bgp_suppress_fib_pending_set(struct bgp *bgp, bool set)
|
||||
if (bgp->inst_type == BGP_INSTANCE_TYPE_VIEW)
|
||||
return;
|
||||
|
||||
/* Do nothing if already in a desired state */
|
||||
if (set == !!CHECK_FLAG(bgp->flags, BGP_FLAG_SUPPRESS_FIB_PENDING))
|
||||
return;
|
||||
|
||||
if (set) {
|
||||
SET_FLAG(bgp->flags, BGP_FLAG_SUPPRESS_FIB_PENDING);
|
||||
/* Send msg to zebra for the first instance of bgp enabled
|
||||
|
Loading…
Reference in New Issue
Block a user