summaryrefslogtreecommitdiff
path: root/src/stats-mode.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-11-27 23:40:13 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2008-11-27 23:40:13 +0100
commit9aba3974d60bfbc773ac366ad6b8859a5c000377 (patch)
tree39296ebf1ff288495f1e411281bcad7ffe0f8acd /src/stats-mode.c
parente6832ed088eac06fee6316dd2ecb8003aa635f17 (diff)
downloadconntrack-tools-9aba3974d60bfbc773ac366ad6b8859a5c000377.tar.gz
conntrack-tools-9aba3974d60bfbc773ac366ad6b8859a5c000377.zip
src: move callbacks to run.c for better readability
This patch is a cleanup. It moves the callbacks from netlink.c to run.c where they are actually invoked. This is better for code readability as I usually have to switch from run.c to netlink.c to remember what the callbacks actually do. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/stats-mode.c')
-rw-r--r--src/stats-mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats-mode.c b/src/stats-mode.c
index 763afe0..ad28008 100644
--- a/src/stats-mode.c
+++ b/src/stats-mode.c
@@ -104,7 +104,7 @@ static int overrun_stats(enum nf_conntrack_msg_type type,
struct nf_conntrack *ct,
void *data)
{
- if (ignore_conntrack(ct, 1))
+ if (ct_filter_conntrack(ct, 1))
return NFCT_CB_CONTINUE;
/* This is required by kernels < 2.6.20 */