diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-25 17:53:02 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-01-25 17:53:02 +0100 |
commit | 1c9faf8c218bc7ff4617557383e4116f1adb11e5 (patch) | |
tree | f189019456f3399d3a47d3471f406956381c65b7 /src/sync-ftfw.c | |
parent | eec8fdf57f34fe0d80b884ad0e376ed24c63ffcc (diff) | |
download | conntrack-tools-1c9faf8c218bc7ff4617557383e4116f1adb11e5.tar.gz conntrack-tools-1c9faf8c218bc7ff4617557383e4116f1adb11e5.zip |
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-ftfw.c')
-rw-r--r-- | src/sync-ftfw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync-ftfw.c b/src/sync-ftfw.c index fd6c350..91ce25d 100644 --- a/src/sync-ftfw.c +++ b/src/sync-ftfw.c @@ -561,8 +561,8 @@ static void ftfw_enqueue(struct cache_object *obj, int type) } struct sync_mode sync_ftfw = { - .internal_cache_flags = LIFETIME, - .external_cache_flags = LIFETIME, + .internal_cache_flags = NO_FEATURES, + .external_cache_flags = NO_FEATURES, .internal_cache_extra = &cache_ftfw_extra, .init = ftfw_init, .kill = ftfw_kill, |