]> git.proxmox.com Git - mirror_frr.git/commitdiff
pimd: Add some more useful data to debug output
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 28 Aug 2018 12:50:16 +0000 (08:50 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 28 Aug 2018 12:50:55 +0000 (08:50 -0400)
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>
pimd/pim_pim.c

index 7113d5405ec31dc9b8c559dea855708e7361a484..d5ee30fb2e018c67de578b65501e85caa47a8a12 100644 (file)
@@ -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);