]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Add some vrf knowledge to some debugging statements
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 23 May 2017 11:24:52 +0000 (07:24 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 24 Jul 2017 17:51:37 +0000 (13:51 -0400)
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_mroute.c

index 435f5e6413b348e156a2298aa3af12d97e6bfaca..c452cc799e53698ace084cf52fae23610ae0d6d4 100644 (file)
@@ -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);