]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Log if charon failed to establish a CHILD_SA but keeps the IKE_SA up.
authorTobias Brunner <tobias@strongswan.org>
Fri, 21 Oct 2011 16:09:02 +0000 (18:09 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 21 Oct 2011 16:09:02 +0000 (18:09 +0200)
src/libcharon/sa/tasks/child_create.c

index 2997361709a82b1b74b427c5aceb0b526a2720a2..67c29d31fc2a29a334dedb0291d4acee670555fd 100644 (file)
@@ -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,