From 7d7206a534eec49b83ff0ef95fe1ba04e5507fc8 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Fri, 22 Nov 2019 15:12:05 -0500 Subject: [PATCH] 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 --- pimd/pim_rpf.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; } -- 2.39.5