summaryrefslogtreecommitdiff
path: root/sbin/iked/ikev2.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2011-01-24 17:44:29 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2011-01-24 17:44:29 +0000
commitb9ff662c88cc1c225248e7a1ce91dd2f48e361a0 (patch)
treee3e02eda928d95104f889f21bc1a4cc105eecb46 /sbin/iked/ikev2.c
parent4126430dedb1612a0c6d374769ef323842d99070 (diff)
fixup previous for the responder mode
Diffstat (limited to 'sbin/iked/ikev2.c')
-rw-r--r--sbin/iked/ikev2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c
index 5acb2809f26..d789a92b819 100644
--- a/sbin/iked/ikev2.c
+++ b/sbin/iked/ikev2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikev2.c,v 1.41 2011/01/21 18:02:53 mikeb Exp $ */
+/* $OpenBSD: ikev2.c,v 1.42 2011/01/24 17:44:28 mikeb Exp $ */
/* $vantronix: ikev2.c,v 1.101 2010/06/03 07:57:33 reyk Exp $ */
/*
@@ -2410,7 +2410,7 @@ ikev2_resp_create_child_sa(struct iked *env, struct iked_message *msg)
goto done;
len = sizeof(*ke) + dh_getlen(group);
} else {
- if ((len = ikev2_add_ts(e, &pld, len, sa, !initiator)) == -1)
+ if ((len = ikev2_add_ts(e, &pld, len, sa, initiator)) == -1)
goto done;
}