Commit d8e816c1 authored by Ondřej Zajíček's avatar Ondřej Zajíček

BSD: Fix of the previous commit

parent 586c1800
Pipeline #37419 passed with stages
in 4 minutes and 45 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment