diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2011-10-27 12:18:34 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2012-01-10 01:54:45 +0100 |
commit | 598e465087365db1fa36b67aa53d291e400ec5b1 (patch) | |
tree | 91a7867a4ad8a72e1f16ea422c2cf2b6b919d41d /src/stats-mode.c | |
parent | 931c0eff309d8c7277ebe6d670fd72d8fbe3c674 (diff) | |
download | conntrack-tools-598e465087365db1fa36b67aa53d291e400ec5b1.tar.gz conntrack-tools-598e465087365db1fa36b67aa53d291e400ec5b1.zip |
conntrackd: generalize local handler actions
This patch prepares the introduction of actions with the expectation
table. Mostly renamings.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/stats-mode.c')
-rw-r--r-- | src/stats-mode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stats-mode.c b/src/stats-mode.c index c7a81e3..b768033 100644 --- a/src/stats-mode.c +++ b/src/stats-mode.c @@ -62,14 +62,14 @@ static int local_handler_stats(int fd, int type, void *data) int ret = LOCAL_RET_OK; switch(type) { - case DUMP_INTERNAL: + case CT_DUMP_INTERNAL: cache_dump(STATE_STATS(cache), fd, NFCT_O_PLAIN); break; - case DUMP_INT_XML: + case CT_DUMP_INT_XML: cache_dump(STATE_STATS(cache), fd, NFCT_O_XML); break; - case FLUSH_CACHE: - case FLUSH_INT_CACHE: + case CT_FLUSH_CACHE: + case CT_FLUSH_INT_CACHE: dlog(LOG_NOTICE, "flushing caches"); cache_flush(STATE_STATS(cache)); break; |