From: Donald Sharp Date: Tue, 23 May 2017 11:24:52 +0000 (-0400) Subject: pimd: Add some vrf knowledge to some debugging statements X-Git-Tag: frr-4.0-dev~468^2~81 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=7c2bfc2a1de704cc1cc2e652182eae1b7c61ea31;p=mirror%2Ffrr.git pimd: Add some vrf knowledge to some debugging statements Signed-off-by: Donald Sharp --- 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);