ike-sa: Fix check for make-before-break when handling DELETE failure

Fixes: a5e80cf5e4 ("libcharon: Enable make_before_break option by default")
This commit is contained in:
Tobias Brunner
2025-02-28 16:27:10 +01:00
parent bff500dfd0
commit 660e06b048
+1 -1
View File
@@ -2534,7 +2534,7 @@ METHOD(ike_sa_t, retransmit, status_t,
DBG1(DBG_IKE, "proper IKE_SA delete failed, peer not responding");
if (has_condition(this, COND_REAUTHENTICATING) &&
!lib->settings->get_bool(lib->settings,
"%s.make_before_break", FALSE, lib->ns))
"%s.make_before_break", TRUE, lib->ns))
{
DBG1(DBG_IKE, "delete during reauthentication failed, "
"trying to reestablish IKE_SA anyway");