diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-05-21 15:18:58 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-05-21 15:18:58 +0000 |
commit | 1af6ff8f04bf4db0a9d9207797bca8eaf660cbe2 (patch) | |
tree | 15a18396ddb740f5f2a3c73242fb9124a475a9ea /src/stats-mode.c | |
parent | 9f1b4b2d028129966f7e6f23cec6ac0712c2b1b6 (diff) | |
download | conntrack-tools-1af6ff8f04bf4db0a9d9207797bca8eaf660cbe2.tar.gz conntrack-tools-1af6ff8f04bf4db0a9d9207797bca8eaf660cbe2.zip |
add missing ignore_conntrack in the overrun handler
Diffstat (limited to 'src/stats-mode.c')
-rw-r--r-- | src/stats-mode.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stats-mode.c b/src/stats-mode.c index 581c07d..22474e2 100644 --- a/src/stats-mode.c +++ b/src/stats-mode.c @@ -96,6 +96,9 @@ static int overrun_cb(enum nf_conntrack_msg_type type, struct nf_conntrack *ct, void *data) { + if (ignore_conntrack(ct)) + return NFCT_CB_CONTINUE; + /* This is required by kernels < 2.6.20 */ nfct_attr_unset(ct, ATTR_TIMEOUT); nfct_attr_unset(ct, ATTR_ORIG_COUNTER_BYTES); |