diff options
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) |