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/run.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/run.c')
-rw-r--r-- | src/run.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -197,7 +197,7 @@ static int local_handler(int fd, void *data) return LOCAL_RET_OK; } switch(type) { - case FLUSH_MASTER: + case CT_FLUSH_MASTER: STATE(stats).nl_kernel_table_flush++; dlog(LOG_NOTICE, "flushing kernel conntrack table"); @@ -209,7 +209,7 @@ static int local_handler(int fd, void *data) exit(EXIT_SUCCESS); } break; - case RESYNC_MASTER: + case CT_RESYNC_MASTER: if (STATE(mode)->internal->flags & INTERNAL_F_POPULATE) { STATE(stats).nl_kernel_table_resync++; dlog(LOG_NOTICE, "resync with master table"); |