diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-10-21 18:09:02 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-10-21 18:09:02 +0200 |
commit | 5d549cd4e1cbcdd91d3dc18a1f39eefa6daceaf2 (patch) | |
tree | d0fd163a7ebc58def1023ee6036a17d451a50874 /src | |
parent | 848a36fed786aae3efad66aad6be41e5ebeb5cad (diff) | |
download | strongswan-5d549cd4e1cbcdd91d3dc18a1f39eefa6daceaf2.tar.bz2 strongswan-5d549cd4e1cbcdd91d3dc18a1f39eefa6daceaf2.tar.xz |
Log if charon failed to establish a CHILD_SA but keeps the IKE_SA up.
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/sa/tasks/child_create.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcharon/sa/tasks/child_create.c b/src/libcharon/sa/tasks/child_create.c index 299736170..67c29d31f 100644 --- a/src/libcharon/sa/tasks/child_create.c +++ b/src/libcharon/sa/tasks/child_create.c @@ -886,6 +886,10 @@ static void handle_child_sa_failure(private_child_create_t *this, delete_ike_sa_job_create(this->ike_sa->get_id(this->ike_sa), TRUE), 100); } + else + { + DBG1(DBG_IKE, "failed to establish CHILD_SA, keeping IKE_SA"); + } } METHOD(task_t, build_r, status_t, |