summaryrefslogtreecommitdiffstats
path: root/src/stats-mode.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-02-15 15:40:47 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-02-15 15:40:47 +0100
commitc4ef74420bc09b82146190870186fb067ac163e9 (patch)
tree48a54a159968119991d1d294af7ce613fa471c7d /src/stats-mode.c
parentfe42b4085b7dab5847bb29155ebc70b4d7880ebe (diff)
conntrackd: add `-f internal' and `-f external' options
This patch allows flushing the internal and/or the external cache. The `-f' with no extra parameters still works to flush both the internal and the external cache. 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 d561409..94fc45b 100644
--- a/src/stats-mode.c
+++ b/src/stats-mode.c
@@ -66,6 +66,7 @@ static int local_handler_stats(int fd, int type, void *data)
cache_dump(STATE_STATS(cache), fd, NFCT_O_XML);
break;
case FLUSH_CACHE:
+ case FLUSH_INT_CACHE:
dlog(LOG_NOTICE, "flushing caches");
cache_flush(STATE_STATS(cache));
break;