summaryrefslogtreecommitdiffstats
path: root/pimd/pim_nht.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-03-12 22:09:36 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2022-03-12 22:57:28 +0100
commit185754fe7cea87483a553c4697508080905687e5 (patch)
tree8960dca12a255ea12cb5b41ce2721ac32f190ed4 /pimd/pim_nht.c
parentpimd: log interface name for send errors (diff)
downloadfrr-185754fe7cea87483a553c4697508080905687e5.tar.xz
frr-185754fe7cea87483a553c4697508080905687e5.zip
pimd: be more informative about missing neighbors
Much more useful to know what we were trying to find a neighbor for. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_nht.c')
-rw-r--r--pimd/pim_nht.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/pimd/pim_nht.c b/pimd/pim_nht.c
index 4e7aad99f..35c846909 100644
--- a/pimd/pim_nht.c
+++ b/pimd/pim_nht.c
@@ -993,12 +993,14 @@ int pim_ecmp_nexthop_lookup(struct pim_instance *pim,
if (!nbr && !if_is_loopback(ifp)) {
if (i == mod_val)
mod_val++;
- i++;
if (PIM_DEBUG_PIM_NHT)
zlog_debug(
- "%s: NBR not found on input interface %s(%s) (RPF for source %pPA)",
- __func__, ifp->name,
- pim->vrf->name, &src_addr);
+ "%s: NBR (%pFXh) not found on input interface %s(%s) (RPF for source %pPA)",
+ __func__,
+ &nexthop_tab[i].nexthop_addr,
+ ifp->name, pim->vrf->name,
+ &src_addr);
+ i++;
continue;
}
}