diff options
author | Maria Matejka <mq@ucw.cz> | 2023-02-01 12:10:34 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-02-02 14:40:00 +0100 |
commit | 64e08775251960a2b009fc35a084610c9c4c4909 (patch) | |
tree | e481e54e3636283fed9f4ca261f272f9fb6a82af /nest/proto.c | |
parent | 6e035a9a8c7c943ea5b58932a2bd4c9b733d91ff (diff) |
Proto: Adding a list of associated neighbors
This makes for safer and faster pruning and notifying as protocol now on
its shutdown prunes only its neighbors and nothing else.
Diffstat (limited to 'nest/proto.c')
-rw-r--r-- | nest/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nest/proto.c b/nest/proto.c index 0ca72ead..2614943c 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -1877,7 +1877,7 @@ static void proto_do_down(struct proto *p) { p->down_code = 0; - neigh_prune(); + neigh_prune(p); rfree(p->pool); p->pool = NULL; |