summaryrefslogtreecommitdiffstats
path: root/src/cache_iterators.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cache_iterators.c')
-rw-r--r--src/cache_iterators.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache_iterators.c b/src/cache_iterators.c
index 4773889..ab6a461 100644
--- a/src/cache_iterators.c
+++ b/src/cache_iterators.c
@@ -51,7 +51,7 @@ static int do_dump(void *data1, struct hashtable_node *n)
* specific and it breaks conntrackd modularity. Probably
* there's a nicer way to do this but until I come up with it...
*/
- if (CONFIG(flags) & CTD_SYNC_FTFW && alarm_pending(&obj->alarm))
+ if (CONFIG(flags) & CTD_SYNC_FTFW && obj->status == C_OBJ_DEAD)
return 0;
/* do not show cached timeout, this may confuse users */