summaryrefslogtreecommitdiff
path: root/sysdep/bsd/krt-sock.c
diff options
context:
space:
mode:
authorOndrej Zajicek (work) <santiago@crfreenet.org>2018-06-27 17:08:59 +0200
committerOndrej Zajicek (work) <santiago@crfreenet.org>2018-06-27 17:10:01 +0200
commitd8e816c150ebad08ff75ef34eb459a67a09a34d0 (patch)
tree0e0d27af7aaa8cd704752e51cd3b970e6f54ebc9 /sysdep/bsd/krt-sock.c
parent586c1800c447ff099d34889b23647c4733876d9b (diff)
BSD: Fix of the previous commit
Diffstat (limited to 'sysdep/bsd/krt-sock.c')
-rw-r--r--sysdep/bsd/krt-sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdep/bsd/krt-sock.c b/sysdep/bsd/krt-sock.c
index 8522e415..e646c414 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