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-alarm.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-alarm.c')
-rw-r--r-- | src/sync-alarm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync-alarm.c b/src/sync-alarm.c index a2f17ac..1815447 100644 --- a/src/sync-alarm.c +++ b/src/sync-alarm.c @@ -154,8 +154,8 @@ static void alarm_xmit(void) } struct sync_mode sync_alarm = { - .internal_cache_flags = LIFETIME, - .external_cache_flags = TIMER | LIFETIME, + .internal_cache_flags = NO_FEATURES, + .external_cache_flags = TIMER, .internal_cache_extra = &cache_alarm_extra, .recv = alarm_recv, .enqueue = alarm_enqueue, |