Inactive sticky neighbors have no scope.
This commit is contained in:
parent
23df5e4cf3
commit
a9aa4c1ebb
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue