summaryrefslogtreecommitdiffstats
path: root/src/sync-notrack.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2009-01-25 17:53:02 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2009-01-25 17:53:02 +0100
commit1c9faf8c218bc7ff4617557383e4116f1adb11e5 (patch)
treef189019456f3399d3a47d3471f406956381c65b7 /src/sync-notrack.c
parenteec8fdf57f34fe0d80b884ad0e376ed24c63ffcc (diff)
cache: move lifetime feature to main cache code
The lifetime feature is used by all working modes, it is useful to know how long it has been an entry living in the cache. This patch moves the lifetime feature to the main caching code. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/sync-notrack.c')
-rw-r--r--src/sync-notrack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync-notrack.c b/src/sync-notrack.c
index 3b547ee..7bd4351 100644
--- a/src/sync-notrack.c
+++ b/src/sync-notrack.c
@@ -173,8 +173,8 @@ static void notrack_enqueue(struct cache_object *obj, int query)
}
struct sync_mode sync_notrack = {
- .internal_cache_flags = LIFETIME,
- .external_cache_flags = LIFETIME,
+ .internal_cache_flags = NO_FEATURES,
+ .external_cache_flags = NO_FEATURES,
.internal_cache_extra = &cache_notrack_extra,
.local = notrack_local,
.recv = notrack_recv,