mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 10:38:05 +00:00
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 <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
df90067aac
commit
7f748d9586
@ -172,11 +172,7 @@ int pim_nexthop_lookup(struct pim_nexthop *nexthop, struct in_addr addr, int nei
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
return -1;
|
||||||
nexthop->last_lookup = addr;
|
|
||||||
nexthop->last_lookup_time = pim_time_monotonic_usec();
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int nexthop_mismatch(const struct pim_nexthop *nh1,
|
static int nexthop_mismatch(const struct pim_nexthop *nh1,
|
||||||
|
Loading…
Reference in New Issue
Block a user