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);
scope = 0;
}
n->proto = p;
n->data = NULL;
n->aux = 0;