diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-11-22 15:12:05 -0500 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2022-11-09 22:18:05 +0000 |
| commit | d0fe0a9b5afd02c8596e06e1f62098a89c192b8a (patch) | |
| tree | f4e037e270f02d2e5c2c3ec9c17f542b7ec52d13 /pimd/pim_rpf.c | |
| parent | 0cb4f4db970f4cd79f89332bbdd40a7c074d08cd (diff) | |
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>
(cherry picked from commit 7d7206a534eec49b83ff0ef95fe1ba04e5507fc8)
Diffstat (limited to 'pimd/pim_rpf.c')
| -rw-r--r-- | pimd/pim_rpf.c | 7 |
1 files 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; } |
