diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-09 15:01:44 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2008-10-09 15:01:44 +0200 |
commit | 09a3f0cba34c2d29e9b6ffa3151fc970c5b93599 (patch) | |
tree | f9fc9ffa7bc77c86fd76c5ac4fd4814da3caaa3e | |
parent | e44561766b025600e4af55a35166db46206dd42c (diff) |
conntrack: fix dump counter displayed with -L expect
This patch fixes the dump counter displayed with -L expect.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
-rw-r--r-- | src/conntrack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conntrack.c b/src/conntrack.c index eccaa7b..0051639 100644 --- a/src/conntrack.c +++ b/src/conntrack.c @@ -863,6 +863,7 @@ static int dump_exp_cb(enum nf_conntrack_msg_type type, nfexp_snprintf(buf, 1024, exp, NFCT_T_UNKNOWN, NFCT_O_DEFAULT, 0); printf("%s\n", buf); + counter++; return NFCT_CB_CONTINUE; } |