Merge pull request #2930 from donaldsharp/pim_debug

pimd: Add some more useful data to debug output
This commit is contained in:
David Lamparter 2018-08-28 15:56:27 +02:00 committed by GitHub
commit 9f0cf8f435
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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);