diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-08-16 23:25:45 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2011-08-16 23:25:45 +0200 |
commit | f69f067958772c3f471d4abffbca902cadf32547 (patch) | |
tree | 576888acfa5378036ffe43cf56ab5a6793144087 /src | |
parent | a022f0863d135dbd2d86e0237febb1277e5cde02 (diff) | |
download | strongswan-f69f067958772c3f471d4abffbca902cadf32547.tar.bz2 strongswan-f69f067958772c3f471d4abffbca902cadf32547.tar.xz |
fix double delete of old IKE_SA during reauthentication
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/sa/tasks/ike_reauth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/sa/tasks/ike_reauth.c b/src/libcharon/sa/tasks/ike_reauth.c index b3423f91e..24dc4dac6 100644 --- a/src/libcharon/sa/tasks/ike_reauth.c +++ b/src/libcharon/sa/tasks/ike_reauth.c @@ -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; } /** |