diff options
author | David Lamparter <equinox@diac24.net> | 2018-08-28 15:56:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-28 15:56:27 +0200 |
commit | 9f0cf8f4354ce60d18501969115febdd3ba7ec1e (patch) | |
tree | 5c9da2e42277197426e357a5c34fcda042323add /pimd | |
parent | Merge pull request #2918 from opensourcerouting/fix-watchfrr-sigchld-handling (diff) | |
parent | pimd: Add some more useful data to debug output (diff) | |
download | frr-9f0cf8f4354ce60d18501969115febdd3ba7ec1e.tar.xz frr-9f0cf8f4354ce60d18501969115febdd3ba7ec1e.zip |
Merge pull request #2930 from donaldsharp/pim_debug
pimd: Add some more useful data to debug output
Diffstat (limited to 'pimd')
-rw-r--r-- | pimd/pim_pim.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_pim.c b/pimd/pim_pim.c index 7113d5405..d5ee30fb2 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); |