summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nest/neighbor.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/nest/neighbor.c b/nest/neighbor.c
index 8ebdd3ad..0c7a4ae0 100644
--- a/nest/neighbor.c
+++ b/nest/neighbor.c
@@ -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;