summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2023-07-10 21:42:14 +0800
committeranlan_cs <vic.lan@pica8.com>2023-07-11 13:36:09 +0800
commit5581a7fc08a5eff20ec9a3add62b17d74d18d7ab (patch)
treee9e2b9838cae457ea8b7ef4a6a5d0fba2dcd12a7 /zebra/redistribute.c
parentf5b8a4e188966b1fc89b3eec45be88ac576fb579 (diff)
zebra: adjust one debug info
Adjust one debug info, separate the ip address from it. Just like it is processed in `redistribute_update()`. Before: ``` 34:1375.75.75.75/32: Redist del: re 0x55c1112067e0 (0:static), new re 0x55c1112de7c0 (0:static) ``` After: ``` (34:13):75.75.75.75/32: Redist del: re 0x55c1112067e0 (0:static), new re 0x55c1112de7c0 (0:static) ``` Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 47ecbc0b44..11b7b7cf82 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -256,12 +256,11 @@ 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,
- old_re ? zebra_route_string(old_re->type) : "None",
- new_re, new_inst,
- new_re ? zebra_route_string(new_re->type) : "None");
+ zlog_debug("(%u:%u):%pRN: Redist del: re %p (%u:%s), new re %p (%u:%s)",
+ vrfid, 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");
}
/* Skip invalid (e.g. linklocal) prefix */