summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-08-01 17:52:54 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2008-08-01 17:52:54 +0200
commit9de87ff1c675f7ae5f463c4820bffb502e7ce852 (patch)
treef08dd393ce7b788838225515b5eac102c3b81fac /include
parent6356d191a6d97483ad904fa1c8279a30564220cf (diff)
ftfw: show consistent information to users for problem diagnosing
This patch hides information that may confuse users while they are diagnosing problems in their setup. For example, we hide entries that are schedule to expire - from the user side, they are already destroyed entries; and we show in the counters the real active entries, not all that are stored in the caches. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r--include/cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cache.h b/include/cache.h
index e2e2e34..ba8d3aa 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -50,6 +50,8 @@ struct cache {
unsigned int extra_offset;
/* statistics */
+ unsigned int active;
+
unsigned int add_ok;
unsigned int del_ok;
unsigned int upd_ok;