summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authorRafael Zalamena <rzalamena@users.noreply.github.com>2020-08-20 14:25:14 +0000
committerGitHub <noreply@github.com>2020-08-20 14:25:14 +0000
commitf07254d0f526ea7933c7589cda98e82e2e41c885 (patch)
treeddbcd771acfa8df06e14643959f4f25168971d01 /zebra/redistribute.c
parentbe8d09f1255f10b49501001d4f39c86fa26154ab (diff)
parentc2c02b76bc78e0e9dfa5c3e4dd12e540317c8b9b (diff)
Merge pull request #6951 from donaldsharp/zebra_table
zebra: Add table id to debug output
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 4d6346151a..0b97562424 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -200,8 +200,8 @@ void redistribute_update(const struct prefix *p, const struct prefix *src_p,
if (IS_ZEBRA_DEBUG_RIB) {
zlog_debug(
- "%u:%s: Redist update re %p (%s), old %p (%s)",
- re->vrf_id, prefix2str(p, buf, sizeof(buf)),
+ "(%u:%u):%s: Redist update re %p (%s), old %p (%s)",
+ re->vrf_id, re->table, prefix2str(p, buf, sizeof(buf)),
re, zebra_route_string(re->type), prev_re,
prev_re ? zebra_route_string(prev_re->type) : "None");
}
@@ -224,12 +224,12 @@ void redistribute_update(const struct prefix *p, const struct prefix *src_p,
if (zebra_redistribute_check(re, client, p, afi)) {
if (IS_ZEBRA_DEBUG_RIB) {
zlog_debug(
- "%s: client %s %s(%u), type=%d, distance=%d, metric=%d",
- __func__,
- zebra_route_string(client->proto),
- prefix2str(p, buf, sizeof(buf)),
- re->vrf_id, re->type,
- re->distance, re->metric);
+ "%s: client %s %s(%u:%u), type=%d, distance=%d, metric=%d",
+ __func__,
+ zebra_route_string(client->proto),
+ prefix2str(p, buf, sizeof(buf)),
+ re->vrf_id, re->table, re->type,
+ re->distance, re->metric);
}
zsend_redistribute_route(ZEBRA_REDISTRIBUTE_ROUTE_ADD,
client, p, src_p, re);