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:
parent
23df5e4cf3
commit
a9aa4c1ebb
@ -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 New Issue
Block a user