]> git.proxmox.com Git - mirror_frr.git/commitdiff
pimd: Reduce duplicate debug messages in wrvifwhole
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 17 Nov 2016 15:03:21 +0000 (10:03 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:16 +0000 (20:26 -0500)
When we get a wrong vif whole callback, reduce
the duplicate debug messages being processed.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_mroute.c

index c7730acc04969e713d3ecce777ab48cd55717a13..d58cfaa9a2ada6749d7a6d752e215c3de5545da8 100644 (file)
@@ -340,10 +340,6 @@ pim_mroute_msg_wrvifwhole (int fd, struct interface *ifp, const char *buf)
   sg.src = ip_hdr->ip_src;
   sg.grp = ip_hdr->ip_dst;
 
-  if (PIM_DEBUG_MROUTE)
-    zlog_debug ("Received WHOLEPKT Wrong Vif for %s on %s",
-               pim_str_sg_dump (&sg), ifp->name);
-
   ch = pim_ifchannel_find(ifp, &sg);
   if (ch)
     {
@@ -365,9 +361,6 @@ pim_mroute_msg_wrvifwhole (int fd, struct interface *ifp, const char *buf)
     }
 #endif
 
-  if (PIM_DEBUG_MROUTE)
-    zlog_debug ("If channel: %p", ch);
-
   up = pim_upstream_find (&sg);
   if (up)
     {