diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-06-29 17:59:35 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-06-29 17:59:35 +0000 |
commit | 25924768d300fcb4dcf68ec8ab9d44b15579017f (patch) | |
tree | ec2463065a518f7bc86af16b936290554a821f28 /sbin/isakmpd | |
parent | 5a3f5236bbe90f0f671991e7ce5b892c21d46661 (diff) |
Be consistent.
Diffstat (limited to 'sbin/isakmpd')
-rw-r--r-- | sbin/isakmpd/ike_quick_mode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/isakmpd/ike_quick_mode.c b/sbin/isakmpd/ike_quick_mode.c index 14f49ce3741..6d08570b574 100644 --- a/sbin/isakmpd/ike_quick_mode.c +++ b/sbin/isakmpd/ike_quick_mode.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ike_quick_mode.c,v 1.50 2001/06/27 00:16:30 ho Exp $ */ +/* $OpenBSD: ike_quick_mode.c,v 1.51 2001/06/29 17:59:34 ho Exp $ */ /* $EOM: ike_quick_mode.c,v 1.139 2001/01/26 10:43:17 niklas Exp $ */ /* @@ -1538,7 +1538,7 @@ responder_recv_HASH_SA_NONCE (struct message *msg) /* Get initiator and responder addresses. */ msg->transport->vtbl->get_src (msg->transport, &src, &srclen); msg->transport->vtbl->get_dst (msg->transport, &dst, &dstlen); - ie->id_ci_sz = ISAKMP_ID_DATA_OFF + sockaddr_len (dst); + ie->id_ci_sz = ISAKMP_ID_DATA_OFF + sockaddr_len (src); ie->id_cr_sz = ISAKMP_ID_DATA_OFF + sockaddr_len (dst); ie->id_ci = calloc (ie->id_ci_sz, sizeof (char)); ie->id_cr = calloc (ie->id_cr_sz, sizeof (char)); |