mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 08:23:56 +00:00
pimd: Fix unguarded log message
In pim_rpf.c when we receive multiple paths for the rpf we are complaining that we are not sure what to do with it yet. Change the _info to _debug and don't print out unless we are debugging stuff. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
12c7b75bce
commit
4a4c0d0c55
@ -60,10 +60,10 @@ int pim_nexthop_lookup(struct pim_nexthop *nexthop, struct in_addr addr)
|
|||||||
|
|
||||||
first_ifindex = nexthop_tab[0].ifindex;
|
first_ifindex = nexthop_tab[0].ifindex;
|
||||||
|
|
||||||
if (num_ifindex > 1) {
|
if (num_ifindex > 1 && PIM_DEBUG_ZEBRA) {
|
||||||
char addr_str[100];
|
char addr_str[100];
|
||||||
pim_inet4_dump("<addr?>", addr, addr_str, sizeof(addr_str));
|
pim_inet4_dump("<addr?>", addr, addr_str, sizeof(addr_str));
|
||||||
zlog_info("%s %s: FIXME ignoring multiple nexthop ifindex'es num_ifindex=%d for address %s (using only ifindex=%d)",
|
zlog_debug("%s %s: Ignoring multiple nexthop ifindex'es num_ifindex=%d for address %s (using only ifindex=%d)",
|
||||||
__FILE__, __PRETTY_FUNCTION__,
|
__FILE__, __PRETTY_FUNCTION__,
|
||||||
num_ifindex, addr_str, first_ifindex);
|
num_ifindex, addr_str, first_ifindex);
|
||||||
/* debug warning only, do not return */
|
/* debug warning only, do not return */
|
||||||
|
Loading…
Reference in New Issue
Block a user