summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nexthop.c2
-rw-r--r--zebra/zebra_rib.c8
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/nexthop.c b/lib/nexthop.c
index dcbb76b68e..6b6b0a79c1 100644
--- a/lib/nexthop.c
+++ b/lib/nexthop.c
@@ -932,6 +932,8 @@ ssize_t printfrr_nhs(struct fbuf *buf, const struct nexthop *nexthop)
ret += bputs(buf, "blackhole");
break;
}
+
+ ret += bprintfrr(buf, " vrfid %u", nexthop->vrf_id);
return ret;
}
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index a5e036fe48..c61b37a697 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -4170,10 +4170,10 @@ static int rib_meta_queue_early_route_add(struct meta_queue *mq, void *data)
mq->size++;
if (IS_ZEBRA_DEBUG_RIB_DETAILED)
- zlog_debug(
- "Route %pFX(%u) queued for processing into sub-queue %s",
- &ere->p, ere->re->vrf_id,
- subqueue2str(META_QUEUE_EARLY_ROUTE));
+ zlog_debug("Route %pFX(%u) (%s) queued for processing into sub-queue %s",
+ &ere->p, ere->re->vrf_id,
+ ere->deletion ? "delete" : "add",
+ subqueue2str(META_QUEUE_EARLY_ROUTE));
return 0;
}