diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-02-14 21:54:50 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-02-14 21:54:50 +0100 |
commit | fe42b4085b7dab5847bb29155ebc70b4d7880ebe (patch) | |
tree | b3c4eaca8a1ba22212ff8981937816bce2a7a342 /src/stats-mode.c | |
parent | cedd1976acefbbf85d95a67a23c72ff011466d62 (diff) | |
download | conntrack-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.c | 1 |
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); } |