summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/message.c
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2001-10-26 13:29:27 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2001-10-26 13:29:27 +0000
commit3280c63ccb946ae977d0b44793122c781361c11b (patch)
tree997375769da49213a937eeb057adcc824b34ebe0 /sbin/isakmpd/message.c
parent53ad6c2a25ef0c135d429a16bb3f7ddf0527fbb0 (diff)
Change to use sysdep_sa_len() function.
Diffstat (limited to 'sbin/isakmpd/message.c')
-rw-r--r--sbin/isakmpd/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/message.c b/sbin/isakmpd/message.c
index 0cca25ee124..633977427c6 100644
--- a/sbin/isakmpd/message.c
+++ b/sbin/isakmpd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.46 2001/10/26 11:37:16 ho Exp $ */
+/* $OpenBSD: message.c,v 1.47 2001/10/26 13:29:26 ho Exp $ */
/* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */
/*
@@ -1382,7 +1382,7 @@ message_send_delete (struct sa *sa)
struct sockaddr *dst;
sa->transport->vtbl->get_dst (sa->transport, &dst);
- isakmp_sa = sa_isakmp_lookup_by_peer (dst, dst->sa_len);
+ isakmp_sa = sa_isakmp_lookup_by_peer (dst, sysdep_sa_len (dst));
if (!isakmp_sa)
{
/*