diff options
author | Tobias Brunner <tobias@strongswan.org> | 2013-02-18 12:05:58 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-02-28 18:07:29 +0100 |
commit | 6e935c6fe08bb0bd2c7640248d4d33a9e615096d (patch) | |
tree | 5f6603a47e17839436b381a9946f721f673b095a /src | |
parent | bc07fef09c3df419ac1bc7c7f1e669b51e92569c (diff) | |
download | strongswan-6e935c6fe08bb0bd2c7640248d4d33a9e615096d.tar.bz2 strongswan-6e935c6fe08bb0bd2c7640248d4d33a9e615096d.tar.xz |
Trigger an updown event when destroying an IKE_SA based on INITIAL_CONTACT
In other cases (i.e. when functions return DESTROY_ME) the event should
already be triggered, but not in this forced situation.
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/sa/ike_sa_manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcharon/sa/ike_sa_manager.c b/src/libcharon/sa/ike_sa_manager.c index 2ac8c3123..df46b35a2 100644 --- a/src/libcharon/sa/ike_sa_manager.c +++ b/src/libcharon/sa/ike_sa_manager.c @@ -1782,6 +1782,7 @@ METHOD(ike_sa_manager_t, check_uniqueness, bool, { DBG1(DBG_IKE, "destroying duplicate IKE_SA for peer '%Y', " "received INITIAL_CONTACT", other); + charon->bus->ike_updown(charon->bus, duplicate, FALSE); checkin_and_destroy(this, duplicate); continue; } |