]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
delete-ike-sa-job: Log unique ID when deleting half-open IKE SA
authorTobias Brunner <tobias@strongswan.org>
Thu, 16 Apr 2026 12:59:28 +0000 (14:59 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 16 Apr 2026 13:32:54 +0000 (15:32 +0200)
src/libcharon/processing/jobs/delete_ike_sa_job.c

index b2fcd1222b0bb2ca544413a687a8d5d6ce0f7fd3..d39f5a4cc57648294bf6de64b2a146746f2c6acd 100644 (file)
@@ -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);