From 8ef2bae4dbaa702ba14e0bf9c78195facec1ed85 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 13 Dec 2011 10:36:02 +0100 Subject: [PATCH] Activate DELETE tasks when queued --- src/libcharon/sa/task_manager_v1.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/libcharon/sa/task_manager_v1.c b/src/libcharon/sa/task_manager_v1.c index f9df2564e..6a9592fe5 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;