Skip to content

Commit

Permalink
pimd: Convert zlog_warn to debug
Browse files Browse the repository at this point in the history
The unable to find a nexthop should not be a warning it should
be a debug.  Switching over.

Signed-off-by: Donald Sharp <[email protected]>
(cherry picked from commit 7d7206a)
  • Loading branch information
donaldsharp authored and mergify[bot] committed Nov 9, 2022
1 parent 0cb4f4d commit d0fe0a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pimd/pim_rpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d0fe0a9

Please sign in to comment.