summaryrefslogtreecommitdiff
path: root/sbin/iked/config.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2014-01-24 05:58:53 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2014-01-24 05:58:53 +0000
commit15fd61e3d466038f2ee008ec30c74144f7fe1511 (patch)
tree36f5bec114993e37d0b94e6912844252d8a11f8e /sbin/iked/config.c
parent317952e76ef192bf159dfbbe0a607758bfc8e4d8 (diff)
use a bit saner timer api
Diffstat (limited to 'sbin/iked/config.c')
-rw-r--r--sbin/iked/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/config.c b/sbin/iked/config.c
index b144a713652..22b1669a07d 100644
--- a/sbin/iked/config.c
+++ b/sbin/iked/config.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: config.c,v 1.23 2013/12/03 13:55:39 markus Exp $ */
+/* $OpenBSD: config.c,v 1.24 2014/01/24 05:58:52 mikeb Exp $ */
/*
* Copyright (c) 2010-2013 Reyk Floeter <reyk@openbsd.org>
@@ -80,7 +80,7 @@ config_free_sa(struct iked *env, struct iked_sa *sa)
{
(void)RB_REMOVE(iked_sas, &env->sc_sas, sa);
- timer_deregister(env, &sa->sa_timer);
+ timer_del(env, &sa->sa_timer);
config_free_proposals(&sa->sa_proposals, 0);
config_free_childsas(env, &sa->sa_childsas, NULL, NULL);