summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/zebra_rib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 128edd9fd3..bc3c68638d 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -2830,8 +2830,10 @@ void _route_entry_dump(const char *func, union prefixconstptr pp,
struct vrf *vrf = vrf_lookup_by_id(re->vrf_id);
struct nexthop_group *nhg;
+ prefix2str(pp, straddr, sizeof(straddr));
+
zlog_debug("%s: dumping RE entry %p for %s%s%s vrf %s(%u)", func,
- (const void *)re, prefix2str(pp, straddr, sizeof(straddr)),
+ (const void *)re, straddr,
is_srcdst ? " from " : "",
is_srcdst ? prefix2str(src_pp, srcaddr, sizeof(srcaddr))
: "",