From 586c1800c447ff099d34889b23647c4733876d9b Mon Sep 17 00:00:00 2001 From: "Ondrej Zajicek (work)" Date: Wed, 27 Jun 2018 16:51:53 +0200 Subject: Nest: Neighbor cache cleanups Simplify neighbor cache code, fix several minor bugs, and improve handling of ONLINK flag. --- proto/ospf/rt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf') diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index b4f9b067..4549ce2a 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -1987,7 +1987,7 @@ again1: for (nh = nf->n.nhs; nh; nh = nh->next) if (ipa_nonzero(nh->gw)) { - neighbor *ng = neigh_find2(&p->p, &nh->gw, nh->iface, 0); + neighbor *ng = neigh_find(&p->p, nh->gw, nh->iface, 0); if (!ng || (ng->scope == SCOPE_HOST)) { reset_ri(nf); break; } } -- cgit v1.2.3