Do not send IKEv1 DPD retransmit, but create a new INFORMATIONAL
authorMartin Willi <martin@revosec.ch>
Tue, 15 May 2012 12:26:09 +0000 (14:26 +0200)
committerMartin Willi <martin@revosec.ch>
Tue, 15 May 2012 12:46:02 +0000 (14:46 +0200)
src/libcharon/sa/ikev1/task_manager_v1.c

index d2245cb..1dc9bf5 100755 (executable)
@@ -523,17 +523,6 @@ METHOD(task_manager_t, initiate, status_t,
        {       /* tasks completed, no exchange active anymore */
                this->initiating.type = EXCHANGE_TYPE_UNDEFINED;
        }
-       if (exchange == INFORMATIONAL_V1)
-       {
-               if (message->get_notify(message, DPD_R_U_THERE))
-               {
-                       expect_response = TRUE;
-               }
-               if (message->get_notify(message, DPD_R_U_THERE_ACK))
-               {
-                       keep = TRUE;
-               }
-       }
        if (flushed)
        {
                message->destroy(message);