Log if charon failed to establish a CHILD_SA but keeps the IKE_SA up.

This commit is contained in:
Tobias Brunner 2011-10-21 18:09:02 +02:00
parent 848a36fed7
commit 5d549cd4e1
1 changed files with 4 additions and 0 deletions

View 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,