aboutsummaryrefslogtreecommitdiffstats
path: root/main/strongswan/0201-ike-Also-track-initiating-IKE_SAs-as-half-open.patch
blob: e7897c17c6789cb366d4a6e16819ceef577cc4f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 36d77e36bb1556bebe0f98c06a757b123caef940 Mon Sep 17 00:00:00 2001
From: Tobias Brunner <tobias@strongswan.org>
Date: Fri, 17 Jul 2015 11:48:53 +0200
Subject: [PATCH] ike: Also track initiating IKE_SAs as half-open

---
 src/libcharon/sa/ike_sa_manager.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/libcharon/sa/ike_sa_manager.c b/src/libcharon/sa/ike_sa_manager.c
index 987260d..51b7f2c 100644
--- a/src/libcharon/sa/ike_sa_manager.c
+++ b/src/libcharon/sa/ike_sa_manager.c
@@ -1570,7 +1570,6 @@ METHOD(ike_sa_manager_t, checkin, void,
 			put_half_open(this, entry);
 		}
 		else if (!entry->half_open &&
-				 !entry->ike_sa_id->is_initiator(entry->ike_sa_id) &&
 				 ike_sa->get_state(ike_sa) == IKE_CONNECTING)
 		{
 			/* this is a new half-open SA */
-- 
2.4.6