diff options
author | Martin Mares <mj@ucw.cz> | 2000-06-01 15:13:49 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-06-01 15:13:49 +0200 |
commit | a9aa4c1ebb5ccdb2c6c7672267ad32670261a10b (patch) | |
tree | 4bc4644431dad3ec2df480e529da6c52b202e96e /nest/neighbor.c | |
parent | 23df5e4cf3b0ff10e7484fc5ca40cb5ea638078b (diff) | |
download | bird-a9aa4c1ebb5ccdb2c6c7672267ad32670261a10b.tar bird-a9aa4c1ebb5ccdb2c6c7672267ad32670261a10b.zip |
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 8ebdd3a..0c7a4ae 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; |