summaryrefslogtreecommitdiff
path: root/src/cache_timer.c
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-14 15:22:24 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-14 15:22:24 +0000
commit6e5b6c91625fd431ac3d1339f55a4aa278ff2604 (patch)
tree79e087eebf878ff86bc4dd74292c97748f593b15 /src/cache_timer.c
parent94aa8b70f2e8cf7cf664d7c0e86a9ebc287010ef (diff)
downloadconntrack-tools-6e5b6c91625fd431ac3d1339f55a4aa278ff2604.tar.gz
conntrack-tools-6e5b6c91625fd431ac3d1339f55a4aa278ff2604.zip
improve alarm framework based on suggestions from Max Duempel
Diffstat (limited to 'src/cache_timer.c')
-rw-r--r--src/cache_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache_timer.c b/src/cache_timer.c
index c0075f5..02f3ae4 100644
--- a/src/cache_timer.c
+++ b/src/cache_timer.c
@@ -36,7 +36,7 @@ static void timer_add(struct us_conntrack *u, void *data)
struct alarm_list *alarm = data;
init_alarm(alarm);
- set_alarm_expiration_secs(alarm, CONFIG(cache_timeout));
+ set_alarm_expiration(alarm, CONFIG(cache_timeout), 0);
set_alarm_data(alarm, u);
set_alarm_function(alarm, timeout);
add_alarm(alarm);