summaryrefslogtreecommitdiff
path: root/pimd/pim_pim.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-28 08:50:16 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-08-28 08:50:55 -0400
commit8cd38306030c904cb1875cb9f205cc27c8a67ad2 (patch)
tree5c9da2e42277197426e357a5c34fcda042323add /pimd/pim_pim.c
parent3e83237244b672aeac1cad360d2e66ea1be20fe9 (diff)
pimd: Add some more useful data to debug output
End user was seeing this debug but we are not giving the user enough information to debug this on his own. Add a tiny bit of extra information that could point the user to solving the problem for themselves. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_pim.c')
-rw-r--r--pimd/pim_pim.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c
index 7113d5405e..d5ee30fb2e 100644
--- a/pimd/pim_pim.c
+++ b/pimd/pim_pim.c
@@ -332,8 +332,9 @@ static int pim_sock_read(struct thread *t)
if (!ifp || !ifp->info) {
if (PIM_DEBUG_PIM_PACKETS)
zlog_debug(
- "%s: Received incoming pim packet on interface not yet configured for pim",
- __PRETTY_FUNCTION__);
+ "%s: Received incoming pim packet on interface(%s:%d) not yet configured for pim",
+ __PRETTY_FUNCTION__,
+ ifp ? ifp->name : "Unknown", ifindex);
goto done;
}
int fail = pim_pim_packet(ifp, buf, len);