summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-11-22 21:12:05 +0100
committerDonald Sharp <sharpd@nvidia.com>2022-11-09 19:51:46 +0100
commit7d7206a534eec49b83ff0ef95fe1ba04e5507fc8 (patch)
tree531dcd6e55d104129f5982979a7868b3eee16256 /pimd
parentMerge pull request #12281 from SaiGomathiN/11279 (diff)
downloadfrr-7d7206a534eec49b83ff0ef95fe1ba04e5507fc8.tar.xz
frr-7d7206a534eec49b83ff0ef95fe1ba04e5507fc8.zip
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 <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_rpf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c
index a28278c58..f5834029a 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;
}