ikev2: Initiate other tasks after a no-op task
authorTobias Brunner <tobias@strongswan.org>
Tue, 27 Oct 2015 16:29:53 +0000 (17:29 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 10 Mar 2016 10:07:14 +0000 (11:07 +0100)
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))