summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-09-12 18:27:01 +0200
committerMaria Matejka <mq@ucw.cz>2022-09-18 16:33:51 +0200
commitc9d18e5ec57d0cb641ba8aee6d71476c4f5d2a73 (patch)
tree70dcca7789df660da9ec6ddd20d7ed22d5ca7fd9 /nest
parentff86f23dc71e75f3761042f750044645ab4e2ea1 (diff)
Table: Re-scheduling prune event when another prune loop is pending
Diffstat (limited to 'nest')
-rw-r--r--nest/rt-table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index f5750cac..35da182c 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -2881,7 +2881,8 @@ again:
#endif
/* state change 2->0, 3->1 */
- tab->prune_state &= 1;
+ if (tab->prune_state &= 1)
+ birdloop_flag(tab->loop, RTF_CLEANUP);
if (tab->trie_new)
{