Set ISAKMP SA state to rekeying after triggering reauthentication
authorMartin Willi <martin@revosec.ch>
Tue, 3 Jan 2012 13:47:44 +0000 (14:47 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:32 +0000 (17:31 +0100)
src/libcharon/sa/ikev1/task_manager_v1.c

index 7dbfb5c..364b6db 100644 (file)
@@ -1155,6 +1155,7 @@ METHOD(task_manager_t, queue_ike_reauth, void,
        if (new->initiate(new, NULL, 0, NULL, NULL) != DESTROY_ME)
        {
                charon->ike_sa_manager->checkin(charon->ike_sa_manager, new);
+               this->ike_sa->set_state(this->ike_sa, IKE_REKEYING);
        }
        else
        {