summaryrefslogtreecommitdiffstats
path: root/pimd/pim_mroute.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-23 13:24:52 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 19:51:37 +0200
commit7c2bfc2a1de704cc1cc2e652182eae1b7c61ea31 (patch)
treebbefa873f306846f7b7e156ce41af19dac52922f /pimd/pim_mroute.c
parentpimd: Add vrf ability to msdp show commands (diff)
downloadfrr-7c2bfc2a1de704cc1cc2e652182eae1b7c61ea31.tar.xz
frr-7c2bfc2a1de704cc1cc2e652182eae1b7c61ea31.zip
pimd: Add some vrf knowledge to some debugging statements
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mroute.c')
-rw-r--r--pimd/pim_mroute.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c
index 435f5e641..c452cc799 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);