summaryrefslogtreecommitdiff
path: root/src/stats-mode.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stats-mode.c')
-rw-r--r--src/stats-mode.c3
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);