0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +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 */ 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;