summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_bmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_bmp.c')
-rw-r--r--bgpd/bgp_bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_bmp.c b/bgpd/bgp_bmp.c
index 21f921255..e458e5e5a 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);
}