From c4ef74420bc09b82146190870186fb067ac163e9 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Sun, 15 Feb 2009 15:40:47 +0100 Subject: 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 --- src/stats-mode.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/stats-mode.c') 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; -- cgit v1.2.3