mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 00:41:20 +00:00
Merge pull request #17894 from pguibert6WIND/bmp_send_peerx_twice
bgpd: fix do not send twice peer up/down messages
This commit is contained in:
commit
498bfbe60b
@ -2451,7 +2451,7 @@ static void bmp_send_all_bgp(struct peer *peer, bool down)
|
||||
if (!bmpbgp)
|
||||
continue;
|
||||
frr_each (bmp_targets, &bmpbgp->targets, bt) {
|
||||
if (bgp_vrf != peer->bgp && !bmp_imported_bgp_find(bt, peer->bgp->name))
|
||||
if (bgp_vrf == peer->bgp || !bmp_imported_bgp_find(bt, peer->bgp->name))
|
||||
continue;
|
||||
bmp_send_bt(bt, s);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user