]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: Add some additional vrf debug for retrieving mroute info
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 17 Sep 2018 13:13:20 +0000 (09:13 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 17 Sep 2018 13:22:31 +0000 (09:22 -0400)
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>
zebra/zebra_mroute.c

index 3af3cd5bb2fc72ef91efd76cc52c76ed34a9cb05..583b666e66acc71350251ced00b0a2f405d106a8 100644 (file)
@@ -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);