summaryrefslogtreecommitdiff
path: root/src/stats-mode.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-02-14 21:54:50 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-02-14 21:54:50 +0100
commitfe42b4085b7dab5847bb29155ebc70b4d7880ebe (patch)
treeb3c4eaca8a1ba22212ff8981937816bce2a7a342 /src/stats-mode.c
parentcedd1976acefbbf85d95a67a23c72ff011466d62 (diff)
downloadconntrack-tools-fe42b4085b7dab5847bb29155ebc70b4d7880ebe.tar.gz
conntrack-tools-fe42b4085b7dab5847bb29155ebc70b4d7880ebe.zip
stats-mode: fix polling based logging
This patch fixes statistics logging based on polling. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/stats-mode.c')
-rw-r--r--src/stats-mode.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stats-mode.c b/src/stats-mode.c
index bd20253..d561409 100644
--- a/src/stats-mode.c
+++ b/src/stats-mode.c
@@ -130,6 +130,7 @@ static int purge_step(void *data1, void *data2)
if (!STATE(get_retval)) {
debug_ct(obj->ct, "purge stats");
cache_del(STATE_STATS(cache), obj);
+ dlog_ct(STATE(stats_log), obj->ct, NFCT_O_PLAIN);
cache_object_free(obj);
}