Continue with next exchange after sending an INFORMATIONAL
authorMartin Willi <martin@revosec.ch>
Fri, 13 Jan 2012 08:27:26 +0000 (09:27 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:36 +0000 (17:31 +0100)
src/libcharon/sa/ikev1/task_manager_v1.c

index a7c088b..30a5c31 100755 (executable)
@@ -334,7 +334,8 @@ METHOD(task_manager_t, initiate, status_t,
        exchange_type_t exchange = EXCHANGE_TYPE_UNDEFINED;
        bool new_mid = FALSE, expect_response = FALSE, flushed = FALSE, keep = FALSE;
 
-       if (this->initiating.type != EXCHANGE_TYPE_UNDEFINED)
+       if (this->initiating.type != EXCHANGE_TYPE_UNDEFINED &&
+               this->initiating.type != INFORMATIONAL_V1)
        {
                DBG2(DBG_IKE, "delaying task initiation, %N exchange in progress",
                                exchange_type_names, this->initiating.type);