Commit 5334d93a45 for strongswan.org
commit 5334d93a45bd1f5d97d2549812f4e6ffd2d2ce06
Author: Tobias Brunner <tobias@strongswan.org>
Date: Thu Apr 16 14:59:28 2026 +0200
delete-ike-sa-job: Log unique ID when deleting half-open IKE SA
diff --git a/src/libcharon/processing/jobs/delete_ike_sa_job.c b/src/libcharon/processing/jobs/delete_ike_sa_job.c
index b2fcd1222b..d39f5a4cc5 100644
--- a/src/libcharon/processing/jobs/delete_ike_sa_job.c
+++ b/src/libcharon/processing/jobs/delete_ike_sa_job.c
@@ -94,8 +94,10 @@ METHOD(job_t, execute, job_requeue_t,
}
else
{
- DBG1(DBG_JOB, "deleting half open IKE_SA with %H after "
- "timeout", ike_sa->get_other_host(ike_sa));
+ DBG1(DBG_JOB, "deleting half open IKE_SA %s[%u] with %H after "
+ "timeout", ike_sa->get_name(ike_sa),
+ ike_sa->get_unique_id(ike_sa),
+ ike_sa->get_other_host(ike_sa));
charon->bus->alert(charon->bus, ALERT_HALF_OPEN_TIMEOUT);
charon->ike_sa_manager->checkin_and_destroy(
charon->ike_sa_manager, ike_sa);