From 193abae5eded07143cc0c855da148cfca6c23a98 Mon Sep 17 00:00:00 2001 From: Hans-Joerg Hoexer Date: Wed, 4 May 2005 10:05:03 +0000 Subject: clean up KEY_API() wrapper. ok ho@ --- sbin/isakmpd/dpd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sbin/isakmpd/dpd.c') 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) -- cgit v1.2.3