summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sysdep/openbsd-encap/sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/isakmpd/sysdep/openbsd-encap/sysdep.c')
-rw-r--r--sbin/isakmpd/sysdep/openbsd-encap/sysdep.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sbin/isakmpd/sysdep/openbsd-encap/sysdep.c b/sbin/isakmpd/sysdep/openbsd-encap/sysdep.c
index 5b3ac088c8a..367c5ed10da 100644
--- a/sbin/isakmpd/sysdep/openbsd-encap/sysdep.c
+++ b/sbin/isakmpd/sysdep/openbsd-encap/sysdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysdep.c,v 1.2 2001/01/28 22:38:49 niklas Exp $ */
+/* $OpenBSD: sysdep.c,v 1.3 2001/02/24 03:59:59 angelos Exp $ */
/*
* Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved.
@@ -118,7 +118,8 @@ sysdep_connection_check (char *name)
*/
u_int8_t *
sysdep_ipsec_get_spi (size_t *sz, u_int8_t proto, struct sockaddr *src,
- int srclen, struct sockaddr *dst, int dstlen)
+ int srclen, struct sockaddr *dst, int dstlen,
+ u_int32_t seq)
{
if (app_none)
{
@@ -126,7 +127,7 @@ sysdep_ipsec_get_spi (size_t *sz, u_int8_t proto, struct sockaddr *src,
/* XXX should be random instead I think. */
return strdup ("\x12\x34\x56\x78");
}
- return KEY_API (get_spi) (sz, proto, src, srclen, dst, dstlen);
+ return KEY_API (get_spi) (sz, proto, src, srclen, dst, dstlen, seq);
}
/* Force communication on socket FD to go in the clear. */