From 7f748d958601a2270b321603a257e87aee5f34df Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sun, 30 Oct 2016 19:34:26 -0400 Subject: [PATCH] pimd: When nexthop_lookup fails allow a retry. We are seeing situations where nexthop lookups are failing unexpectedly. Don't consider the lookup to have succeeded in this case to allow the next lookup to work? Signed-off-by: Donald Sharp --- pimd/pim_rpf.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c index 2b16529627..1724185e97 100644 --- a/pimd/pim_rpf.c +++ b/pimd/pim_rpf.c @@ -172,11 +172,7 @@ int pim_nexthop_lookup(struct pim_nexthop *nexthop, struct in_addr addr, int nei return 0; } else - { - nexthop->last_lookup = addr; - nexthop->last_lookup_time = pim_time_monotonic_usec(); - return -1; - } + return -1; } static int nexthop_mismatch(const struct pim_nexthop *nh1, -- 2.39.5