Commit a9aa4c1e authored by Martin Mareš's avatar Martin Mareš

Inactive sticky neighbors have no scope.

parent 23df5e4c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment