Raise an alert if half-open timeout limit reached

This commit is contained in:
Martin Willi
2012-12-19 10:40:33 +01:00
parent c57fe7ac6f
commit 578f72ceb0
2 changed files with 3 additions and 0 deletions
@@ -84,6 +84,7 @@ METHOD(job_t, execute, job_requeue_t,
else
{
DBG1(DBG_JOB, "deleting half open IKE_SA after timeout");
charon->bus->alert(charon->bus, ALERT_HALF_OPEN_TIMEOUT);
charon->ike_sa_manager->checkin_and_destroy(
charon->ike_sa_manager, ike_sa);
}