diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-05-04 10:05:03 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2005-05-04 10:05:03 +0000 |
commit | 193abae5eded07143cc0c855da148cfca6c23a98 (patch) | |
tree | 76d84fa8901a81ef0f64daf11daf20385d92c1b8 /sbin/isakmpd/dpd.c | |
parent | a22baeec2285142cc4a94f0362d03b1d38102deb (diff) |
clean up KEY_API() wrapper.
ok ho@
Diffstat (limited to 'sbin/isakmpd/dpd.c')
-rw-r--r-- | sbin/isakmpd/dpd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/isakmpd/dpd.c b/sbin/isakmpd/dpd.c index 4f81589a0b7..040b030a3b6 100644 --- a/sbin/isakmpd/dpd.c +++ b/sbin/isakmpd/dpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dpd.c,v 1.12 2005/04/08 21:14:49 cloder Exp $ */ +/* $OpenBSD: dpd.c,v 1.13 2005/05/04 10:05:01 hshoexer Exp $ */ /* * Copyright (c) 2004 Håkan Olsson. All rights reserved. @@ -38,6 +38,7 @@ #include "isakmp_fld.h" #include "log.h" #include "message.h" +#include "pf_key_v2.h" #include "sa.h" #include "timer.h" #include "transport.h" @@ -274,7 +275,7 @@ dpd_check_time(struct sa *sa, void *v_arg) sa->transport->vtbl->get_src(sa->transport, &dst); gettimeofday(&tv, 0); - ksa = sysdep_ipsec_get_kernel_sa(proto->spi[1], proto->spi_sz[1], + ksa = pf_key_v2_get_kernel_sa(proto->spi[1], proto->spi_sz[1], proto->proto, dst); if (!ksa || !ksa->last_used) |