0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 09:41:54 +00:00

Inactive sticky neighbors have no scope.

This commit is contained in:
Martin Mares 2000-06-01 13:13:49 +00:00
parent 23df5e4cf3
commit a9aa4c1ebb

View File

@ -92,7 +92,10 @@ neigh_find(struct proto *p, ip_addr *a, unsigned flags)
add_tail(&j->neighbors, &n->if_n);
}
else
add_tail(&sticky_neigh_list, &n->n);
{
add_tail(&sticky_neigh_list, &n->n);
scope = 0;
}
n->proto = p;
n->data = NULL;
n->aux = 0;