summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bgpd/bgp_bmp.c2
-rw-r--r--tests/topotests/bgp_rpki_topo1/r2/bgp_rpki_valid.json3
2 files changed, 1 insertions, 4 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);
}
diff --git a/tests/topotests/bgp_rpki_topo1/r2/bgp_rpki_valid.json b/tests/topotests/bgp_rpki_topo1/r2/bgp_rpki_valid.json
index 016c019d1..966519bfd 100644
--- a/tests/topotests/bgp_rpki_topo1/r2/bgp_rpki_valid.json
+++ b/tests/topotests/bgp_rpki_topo1/r2/bgp_rpki_valid.json
@@ -1,7 +1,6 @@
{
"vrfId": 0,
"vrfName": "default",
- "tableVersion": 3,
"routerId": "192.0.2.2",
"defaultLocPrf": 100,
"localAS": 65002,
@@ -11,7 +10,6 @@
"origin": "IGP",
"metric": 0,
"valid": true,
- "version": 2,
"rpkiValidationState": "valid",
"bestpath": {
"overall": true,
@@ -40,7 +38,6 @@
"origin": "IGP",
"metric": 0,
"valid": true,
- "version": 3,
"rpkiValidationState": "valid",
"bestpath": {
"overall": true,