0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00

BSD: Fix of the previous commit

This commit is contained in:
Ondrej Zajicek (work) 2018-06-27 17:08:59 +02:00
parent 586c1800c4
commit d8e816c150

View File

@ -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)) if (ipa_is_link_local(a.nh.gw))
_I0(a.nh.gw) = 0xfe800000; _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)) if (!ng || (ng->scope == SCOPE_HOST))
{ {
/* Ignore routes with next-hop 127.0.0.1, host routes with such /* Ignore routes with next-hop 127.0.0.1, host routes with such