From ce223dac60bdaa35a6da7ce27d56af181a0ed5fd Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 11 Sep 2026 12:02:11 +0200 Subject: [PATCH] luci-app-strongswan-swanctl: rename lifetime to life_time in child Rename the 'lifetime' option to 'life_time' in the uci section type 'child' to follow the naming convention and improve consistency with 'swanctl.conf' terminology. Signed-off-by: Florian Eckert --- .../luci-static/resources/view/strongswan-swanctl/swanctl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-strongswan-swanctl/htdocs/luci-static/resources/view/strongswan-swanctl/swanctl.js b/applications/luci-app-strongswan-swanctl/htdocs/luci-static/resources/view/strongswan-swanctl/swanctl.js index 6d4106c1c4..47ee16ec83 100644 --- a/applications/luci-app-strongswan-swanctl/htdocs/luci-static/resources/view/strongswan-swanctl/swanctl.js +++ b/applications/luci-app-strongswan-swanctl/htdocs/luci-static/resources/view/strongswan-swanctl/swanctl.js @@ -383,7 +383,7 @@ return view.extend({ o.rmempty = true; o.modalonly = true; - o = s.taboption('advanced', form.Value, 'lifetime', _('Life Time'), + o = s.taboption('advanced', form.Value, 'life_time', _('Life Time'), _('Maximum time before the CHILD_SA gets closed, as a hard limit.') ); o.validate = validateTimeFormat;