ike: Also track initiating IKE_SAs as half-open
authorTobias Brunner <tobias@strongswan.org>
Fri, 17 Jul 2015 09:48:53 +0000 (11:48 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 21 Aug 2015 16:21:13 +0000 (18:21 +0200)
src/libcharon/sa/ike_sa_manager.c

index 3e6496d..137920a 100644 (file)
@@ -1572,7 +1572,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 */