ikev2: Initiate other tasks after a no-op task
[strongswan.git] / src / libcharon / sa / ikev2 / task_manager_v2.c
index 8ed8630..b7c5f66 100644 (file)
@@ -624,7 +624,7 @@ METHOD(task_manager_t, initiate, status_t,
        if (this->initiating.type == EXCHANGE_TYPE_UNDEFINED)
        {
                message->destroy(message);
-               return SUCCESS;
+               return initiate(this);
        }
 
        if (!generate_message(this, message, &this->initiating.packets))