0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 08:38:42 +00:00

Fixes scope for sticky neighbors.

This commit is contained in:
Ondrej Zajicek 2011-01-08 19:34:12 +01:00
parent d32a071da9
commit 9d67ffb0b4

View File

@ -166,7 +166,7 @@ neigh_find2(struct proto *p, ip_addr *a, struct iface *ifa, unsigned flags)
fortunately, we don't use this combination */
add_tail(&sticky_neigh_list, &n->n);
ifa = NULL;
scope = 0;
scope = -1;
}
n->iface = ifa;
n->proto = p;