diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-17 15:13:20 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-09-17 15:22:31 +0200 |
commit | 423648901abd195759ddda579970161d09d46433 (patch) | |
tree | 1a8b3f616919a4842d5b9d85e0f2dd8e7f2de177 /zebra/zebra_mroute.c | |
parent | Merge pull request #3031 from pacovn/static_analysis__Wcomma (diff) | |
download | frr-423648901abd195759ddda579970161d09d46433.tar.xz frr-423648901abd195759ddda579970161d09d46433.zip |
zebra: Add some additional vrf debug for retrieving mroute info
When debugging the mroute code path in zebra, add a bit of additional
data to allow us to know what is going on a bit more.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_mroute.c')
-rw-r--r-- | zebra/zebra_mroute.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_mroute.c b/zebra/zebra_mroute.c index 3af3cd5bb..583b666e6 100644 --- a/zebra/zebra_mroute.c +++ b/zebra/zebra_mroute.c @@ -50,7 +50,8 @@ void zebra_ipmr_route_stats(ZAPI_HANDLER_ARGS) strlcpy(sbuf, inet_ntoa(mroute.sg.src), sizeof(sbuf)); strlcpy(gbuf, inet_ntoa(mroute.sg.grp), sizeof(gbuf)); - zlog_debug("Asking for (%s,%s) mroute information", sbuf, gbuf); + zlog_debug("Asking for (%s,%s)[%s(%u)] mroute information", + sbuf, gbuf, zvrf->vrf->name, zvrf->vrf->vrf_id); } suc = kernel_get_ipmr_sg_stats(zvrf, &mroute); |