diff options
author | Martin Willi <martin@revosec.ch> | 2012-01-04 17:51:22 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:31:33 +0100 |
commit | b147679a2c1b3c232a13f8f58418b4976571b8da (patch) | |
tree | 7c65de51bc50d48ae0ea7d0c138d0dca4deb7086 /src/libcharon/sa/ikev1/tasks/xauth.c | |
parent | 3a0b67bce593c99d5ae0dd5e2920c6772843ad7a (diff) | |
download | strongswan-b147679a2c1b3c232a13f8f58418b4976571b8da.tar.bz2 strongswan-b147679a2c1b3c232a13f8f58418b4976571b8da.tar.xz |
Try to detect reauthentication as responder and adopt children to new SA
Diffstat (limited to 'src/libcharon/sa/ikev1/tasks/xauth.c')
-rwxr-xr-x | src/libcharon/sa/ikev1/tasks/xauth.c | 3 |
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; |