Fixes scope for sticky neighbors.
This commit is contained in:
parent
d32a071da9
commit
9d67ffb0b4
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ neigh_find2(struct proto *p, ip_addr *a, struct iface *ifa, unsigned flags)
|
||||||
fortunately, we don't use this combination */
|
fortunately, we don't use this combination */
|
||||||
add_tail(&sticky_neigh_list, &n->n);
|
add_tail(&sticky_neigh_list, &n->n);
|
||||||
ifa = NULL;
|
ifa = NULL;
|
||||||
scope = 0;
|
scope = -1;
|
||||||
}
|
}
|
||||||
n->iface = ifa;
|
n->iface = ifa;
|
||||||
n->proto = p;
|
n->proto = p;
|
||||||
|
|
Loading…
Reference in a new issue