diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-06-29 19:08:13 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-06-29 19:08:13 +0000 |
commit | bb633e3310ee6aaa4d1a1fee4f2b9dc7e22daf76 (patch) | |
tree | 95fb94834996c6c12bd801acc82210a20615b44b /sbin/isakmpd/sysdep/linux/sysdep.c | |
parent | 9b1cd4b782681b4130d746d3ed6f4efbaeaa89ca (diff) |
Get rid of redundant lengths in get_spi API.
Diffstat (limited to 'sbin/isakmpd/sysdep/linux/sysdep.c')
-rw-r--r-- | sbin/isakmpd/sysdep/linux/sysdep.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sbin/isakmpd/sysdep/linux/sysdep.c b/sbin/isakmpd/sysdep/linux/sysdep.c index abeb44b7c8a..242788e04fa 100644 --- a/sbin/isakmpd/sysdep/linux/sysdep.c +++ b/sbin/isakmpd/sysdep/linux/sysdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysdep.c,v 1.6 2001/05/05 00:51:48 angelos Exp $ */ +/* $OpenBSD: sysdep.c,v 1.7 2001/06/29 19:08:12 ho Exp $ */ /* * Copyright (c) 1998, 1999 Niklas Hallqvist. All rights reserved. @@ -120,8 +120,7 @@ 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, - u_int32_t seq) + struct sockaddr *dst, u_int32_t seq) { if (app_none) { @@ -130,7 +129,7 @@ sysdep_ipsec_get_spi (size_t *sz, u_int8_t proto, struct sockaddr *src, return strdup ("\x12\x34\x56\x78"); } - return klips_get_spi (sz, proto, src, srclen, dst, dstlen, seq); + return klips_get_spi (sz, proto, src, dst, seq); } int |