From: Donald Sharp Date: Fri, 22 Nov 2019 20:12:05 +0000 (-0500) Subject: pimd: Convert zlog_warn to debug X-Git-Tag: base_8.5~256^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F12297%2Fhead;p=mirror%2Ffrr.git pimd: Convert zlog_warn to debug The unable to find a nexthop should not be a warning it should be a debug. Switching over. Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c index a28278c581..f5834029a5 100644 --- a/pimd/pim_rpf.c +++ b/pimd/pim_rpf.c @@ -97,9 +97,10 @@ bool pim_nexthop_lookup(struct pim_instance *pim, struct pim_nexthop *nexthop, zclient_lookup_nexthop(pim, nexthop_tab, router->multipath, addr, PIM_NEXTHOP_LOOKUP_MAX); if (num_ifindex < 1) { - zlog_warn( - "%s %s: could not find nexthop ifindex for address %pPAs", - __FILE__, __func__, &addr); + if (PIM_DEBUG_PIM_NHT) + zlog_debug( + "%s %s: could not find nexthop ifindex for address %pPAs", + __FILE__, __func__, &addr); return false; }