diff options
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r-- | proto/ospf/rt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } } |