From 9de87ff1c675f7ae5f463c4820bffb502e7ce852 Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 1 Aug 2008 17:52:54 +0200 Subject: 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 --- include/cache.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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; -- cgit v1.2.3