summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/message.c
diff options
context:
space:
mode:
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 458e151929b..a8429a4b743 100644
--- a/sbin/isakmpd/message.c
+++ b/sbin/isakmpd/message.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: message.c,v 1.41 2001/04/14 01:25:34 ho Exp $ */
+/* $OpenBSD: message.c,v 1.42 2001/04/24 07:27:37 niklas Exp $ */
/* $EOM: message.c,v 1.156 2000/10/10 12:36:39 provos Exp $ */
/*
@@ -173,9 +173,9 @@ message_alloc_reply (struct message *msg)
reply = message_alloc (msg->transport, 0, ISAKMP_HDR_SZ);
reply->exchange = msg->exchange;
+ reply->isakmp_sa = msg->isakmp_sa;
if (msg->isakmp_sa)
sa_reference (msg->isakmp_sa);
- reply->isakmp_sa = msg->isakmp_sa;
return reply;
}