]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Convert zlog_warn to debug 12297/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 22 Nov 2019 20:12:05 +0000 (15:12 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 9 Nov 2022 18:51:46 +0000 (13:51 -0500)
The unable to find a nexthop should not be a warning it should
be a debug.  Switching over.

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

index a28278c5812634ca33cc06abf309bb06964270ba..f5834029a575903426645af72dd46d8b8eef747b 100644 (file)
@@ -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;
        }