summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-09-12 09:23:30 +0300
committerGitHub <noreply@github.com>2024-09-12 09:23:30 +0300
commitbf1fa1b2dfeebb4fefcf3655111f30a766b6bc6d (patch)
tree9abe8e4dda78e65d1bbe1da041e68ef2525cb05c /zebra/redistribute.c
parenta76a7d1b1266f112f279aef3a544b18409e2ca7a (diff)
parente0437aba6d605a41c0471013746e3d9c791ccd20 (diff)
Merge pull request #16798 from donaldsharp/zebra_more_vrf_debug_data
zebra: Add more vrf name to debugs
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 11c1330398..2de0917a7e 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -290,6 +290,7 @@ void redistribute_delete(const struct route_node *rn,
if (IS_ZEBRA_DEBUG_RIB) {
uint8_t old_inst, new_inst;
uint32_t table = 0;
+ struct vrf *vrf = vrf_lookup_by_id(vrfid);
old_inst = new_inst = 0;
@@ -302,8 +303,8 @@ void redistribute_delete(const struct route_node *rn,
table = new_re->table;
}
- zlog_debug("(%u:%u):%pRN: Redist del: re %p (%u:%s), new re %p (%u:%s)",
- vrfid, table, rn, old_re, old_inst,
+ zlog_debug("(%s:%u):%pRN: Redist del: re %p (%u:%s), new re %p (%u:%s)",
+ VRF_LOGNAME(vrf), table, rn, old_re, old_inst,
old_re ? zebra_route_string(old_re->type) : "None",
new_re, new_inst,
new_re ? zebra_route_string(new_re->type) : "None");