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 <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert authored and Florian Eckert committed 2026-09-30 11:58:57 +02:00
1 parent 528e83e3ec
commit ce223dac60
1 file changed
+1 -1
@@ -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;