From: Martin Willi Date: Tue, 13 Dec 2011 09:36:02 +0000 (+0100) Subject: Activate DELETE tasks when queued X-Git-Tag: 5.0.0~338^2~9^2~243 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ef2bae4dbaa702ba14e0bf9c78195facec1ed85;p=thirdparty%2Fstrongswan.git Activate DELETE tasks when queued --- diff --git a/src/libcharon/sa/task_manager_v1.c b/src/libcharon/sa/task_manager_v1.c index f9df2564ee..6a9592fe57 100755 --- a/src/libcharon/sa/task_manager_v1.c +++ b/src/libcharon/sa/task_manager_v1.c @@ -315,6 +315,16 @@ METHOD(task_manager_t, initiate, status_t, exchange = INFORMATIONAL_V1; new_mid = TRUE; } + if (activate_task(this, TASK_IKE_DELETE)) + { + exchange = INFORMATIONAL_V1; + new_mid = TRUE; + } + if (activate_task(this, TASK_CHILD_DELETE)) + { + exchange = INFORMATIONAL_V1; + new_mid = TRUE; + } break; default: break;