summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sysdep/freebsd/sysdep.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-05 00:51:50 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-05 00:51:50 +0000
commitc7e7e529008182668ca847990d4322f4b609ec09 (patch)
treeaad394a9d90a927d318246314c848158129b96e8 /sbin/isakmpd/sysdep/freebsd/sysdep.c
parent83a6c0cd0eaaaf4a7b34136881ae5d54f5900c2b (diff)
Adhere to the new set_spi prototype.
Diffstat (limited to 'sbin/isakmpd/sysdep/freebsd/sysdep.c')
-rw-r--r--sbin/isakmpd/sysdep/freebsd/sysdep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/isakmpd/sysdep/freebsd/sysdep.c b/sbin/isakmpd/sysdep/freebsd/sysdep.c
index afdedde44a3..9f4a5eaf568 100644
--- a/sbin/isakmpd/sysdep/freebsd/sysdep.c
+++ b/sbin/isakmpd/sysdep/freebsd/sysdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysdep.c,v 1.3 2001/02/24 03:59:56 angelos Exp $ */
+/* $OpenBSD: sysdep.c,v 1.4 2001/05/05 00:51:47 angelos Exp $ */
/*
* Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved.
@@ -197,10 +197,11 @@ sysdep_ipsec_group_spis (struct sa *sa, struct proto *proto1,
}
int
-sysdep_ipsec_set_spi (struct sa *sa, struct proto *proto, int incoming)
+sysdep_ipsec_set_spi (struct sa *sa, struct proto *proto, int incoming,
+ struct sa *isakmp_sa)
{
if (app_none)
return 0;
- return KEY_API (set_spi) (sa, proto, incoming);
+ return KEY_API (set_spi) (sa, proto, incoming, isakmp_sa);
}
#endif