summaryrefslogtreecommitdiff
path: root/sbin/iked/ikev2.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/iked/ikev2.c')
-rw-r--r--sbin/iked/ikev2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/iked/ikev2.c b/sbin/iked/ikev2.c
index 13d00e50524..f58bb497e0e 100644
--- a/sbin/iked/ikev2.c
+++ b/sbin/iked/ikev2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ikev2.c,v 1.287 2020/11/25 22:17:13 tobhe Exp $ */
+/* $OpenBSD: ikev2.c,v 1.288 2020/11/27 21:48:37 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@ -4093,7 +4093,6 @@ ikev2_init_create_child_sa(struct iked *env, struct iked_message *msg)
sa->sa_nextr->sa_prevr = NULL;
sa->sa_nextr = NULL;
/* Setup address, socket and NAT information */
- sa_state(env, dsa, IKEV2_STATE_CLOSING);
sa_address(dsa, &dsa->sa_peer,
(struct sockaddr *)&sa->sa_peer.addr);
sa_address(dsa, &dsa->sa_local,