fix double delete of old IKE_SA during reauthentication
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 16 Aug 2011 21:25:45 +0000 (23:25 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 16 Aug 2011 21:25:45 +0000 (23:25 +0200)
src/libcharon/sa/tasks/ike_reauth.c

index b3423f9..24dc4da 100644 (file)
@@ -144,8 +144,8 @@ static status_t process_i(private_ike_reauth_t *this, message_t *message)
        /* set threads active IKE_SA after checkin */
        charon->bus->set_sa(charon->bus, this->ike_sa);
 
-       /* we always return failed to delete the obsolete IKE_SA */
-       return FAILED;
+       /* we always destroy the obsolete IKE_SA */
+       return DESTROY_ME;
 }
 
 /**