From: Ondrej Zajicek (work) Date: Wed, 27 Jun 2018 15:08:59 +0000 (+0200) Subject: BSD: Fix of the previous commit X-Git-Tag: v2.0.3~74 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d8e816c150ebad08ff75ef34eb459a67a09a34d0;p=thirdparty%2Fbird.git BSD: Fix of the previous commit --- diff --git a/sysdep/bsd/krt-sock.c b/sysdep/bsd/krt-sock.c index 8522e4152..e646c4142 100644 --- a/sysdep/bsd/krt-sock.c +++ b/sysdep/bsd/krt-sock.c @@ -532,7 +532,7 @@ krt_read_route(struct ks_msg *msg, struct krt_proto *p, int scan) if (ipa_is_link_local(a.nh.gw)) _I0(a.nh.gw) = 0xfe800000; - ng = neigh_find2(&p->p, &a.nh.gw, a.nh.iface, 0); + ng = neigh_find(&p->p, a.nh.gw, a.nh.iface, 0); if (!ng || (ng->scope == SCOPE_HOST)) { /* Ignore routes with next-hop 127.0.0.1, host routes with such