diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2025-01-22 07:03:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-22 07:03:58 +0200 |
| commit | 498bfbe60ba471ccd25289127cca645cd4f7132b (patch) | |
| tree | 8a5665c184e71d3a5daf237425c0d5763c2c3c0b /bgpd | |
| parent | 6c7de02802db7f860bc784aa9e25688cc92ef468 (diff) | |
| parent | b002757c266f76b8989dfddee835591a22115561 (diff) | |
Merge pull request #17894 from pguibert6WIND/bmp_send_peerx_twice
bgpd: fix do not send twice peer up/down messages
Diffstat (limited to 'bgpd')
| -rw-r--r-- | bgpd/bgp_bmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_bmp.c b/bgpd/bgp_bmp.c index 21f9212556..e458e5e5ac 100644 --- a/bgpd/bgp_bmp.c +++ b/bgpd/bgp_bmp.c @@ -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); } |
