aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/ikev1/tasks/xauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/sa/ikev1/tasks/xauth.c')
-rwxr-xr-xsrc/libcharon/sa/ikev1/tasks/xauth.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libcharon/sa/ikev1/tasks/xauth.c b/src/libcharon/sa/ikev1/tasks/xauth.c
index 8d8744b3d..e836bed16 100755
--- a/src/libcharon/sa/ikev1/tasks/xauth.c
+++ b/src/libcharon/sa/ikev1/tasks/xauth.c
@@ -18,6 +18,7 @@
#include <daemon.h>
#include <hydra.h>
#include <encoding/payloads/cp_payload.h>
+#include <processing/jobs/adopt_children_job.h>
typedef struct private_xauth_t private_xauth_t;
@@ -212,6 +213,8 @@ METHOD(task_t, build_r_ack, status_t,
if (this->status == XAUTH_OK)
{
establish(this);
+ lib->processor->queue_job(lib->processor, (job_t*)
+ adopt_children_job_create(this->ike_sa->get_id(this->ike_sa)));
return SUCCESS;
}
return FAILED;