From: Donald Sharp Date: Thu, 17 Nov 2016 15:03:21 +0000 (-0500) Subject: pimd: Reduce duplicate debug messages in wrvifwhole X-Git-Tag: frr-3.0-branchpoint~64^2~10^2~77 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=5441e690487700235ee7b5411f3d7aac0e9b2f2c;p=mirror%2Ffrr.git pimd: Reduce duplicate debug messages in wrvifwhole When we get a wrong vif whole callback, reduce the duplicate debug messages being processed. Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c index c7730acc04..d58cfaa9a2 100644 --- a/pimd/pim_mroute.c +++ b/pimd/pim_mroute.c @@ -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) {