path: root/include/conntrackd.h
diff options
authorPablo Neira Ayuso <>2009-02-20 18:33:52 +0100
committerPablo Neira Ayuso <>2009-02-20 18:33:52 +0100
commit9d67451ca43b0a469f16d0d139e014b9a5fee33d (patch)
tree3b66d739972ee36f471e22a85eff09771beb9a87 /include/conntrackd.h
parent1606369707325e2f68ffe225917d7ea637ddb9de (diff)
headers: don't use NFCT_DIR_MAX in statistics structure
This patch removes the use of NFCT_DIR_MAX. This constant is part of the old libnetfilter_conntrack API which has been removed from the git tree. It was introduced in the early days of conntrackd, thus, the use of this constant. Unfortunately, I did not notice until now. Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'include/conntrackd.h')
1 files changed, 4 insertions, 2 deletions
diff --git a/include/conntrackd.h b/include/conntrackd.h
index 9b3cdf2..9615c2e 100644
--- a/include/conntrackd.h
+++ b/include/conntrackd.h
@@ -128,8 +128,10 @@ struct ct_general_state {
/* statistics */
struct {
- uint64_t bytes[NFCT_DIR_MAX];
- uint64_t packets[NFCT_DIR_MAX];
+ uint64_t bytes_orig;
+ uint64_t bytes_repl;
+ uint64_t packets_orig;
+ uint64_t packets_repl;
time_t daemon_start_time;