From 7c2bfc2a1de704cc1cc2e652182eae1b7c61ea31 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 23 May 2017 07:24:52 -0400 Subject: [PATCH] pimd: Add some vrf knowledge to some debugging statements Signed-off-by: Donald Sharp --- pimd/pim_mroute.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c index 435f5e6413..c452cc799e 100644 --- a/pimd/pim_mroute.c +++ b/pimd/pim_mroute.c @@ -559,9 +559,9 @@ static int pim_mroute_msg(struct pim_instance *pim, const char *buf, ip_dst_str, sizeof(ip_dst_str)); zlog_warn( - "%s: igmp kernel upcall could not find usable interface for %s -> %s", - __PRETTY_FUNCTION__, ip_src_str, - ip_dst_str); + "%s(%s): igmp kernel upcall could not find usable interface for %s -> %s", + __PRETTY_FUNCTION__, pim->vrf->name, + ip_src_str, ip_dst_str); } return 0; } @@ -577,9 +577,9 @@ static int pim_mroute_msg(struct pim_instance *pim, const char *buf, sizeof(ip_dst_str)); zlog_warn( - "%s: igmp kernel upcall on %s(%p) for %s -> %s", - __PRETTY_FUNCTION__, ifp->name, igmp, - ip_src_str, ip_dst_str); + "%s(%s): igmp kernel upcall on %s(%p) for %s -> %s", + __PRETTY_FUNCTION__, pim->vrf->name, ifp->name, + igmp, ip_src_str, ip_dst_str); } if (igmp) pim_igmp_packet(igmp, (char *)buf, buf_size); -- 2.39.5