diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-01 13:13:49 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-01 13:13:49 +0000 |
commit | a9aa4c1ebb5ccdb2c6c7672267ad32670261a10b (patch) | |
tree | 4bc4644431dad3ec2df480e529da6c52b202e96e /nest/neighbor.c | |
parent | 23df5e4cf3b0ff10e7484fc5ca40cb5ea638078b (diff) |
Inactive sticky neighbors have no scope.
Diffstat (limited to 'nest/neighbor.c')
-rw-r--r-- | nest/neighbor.c | 5 |
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; |