luci-app-keepalived: fix copy past error for the debug option
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 10 May 2024 07:33:28 +0000 (09:33 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 10 May 2024 07:33:30 +0000 (09:33 +0200)
The 'debug' configuration option in the LuCI incorrectly overwrites the
'preempt_delay' configuration option due to a copy past error. Using the
correct uci configuration option 'debug' fixes this error.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js

index c6db62d2b1f769f0772d0e1268f48fdc67d49fce..f9f92f57f5e97e9649edc648680d7a7b6c93f79b 100644 (file)
@@ -218,7 +218,7 @@ return view.extend({
                o.placeholder = '300';
                o.modalonly = true;
 
-               o = s.taboption('advanced', form.ListValue, 'preempt_delay', _('Debug'),
+               o = s.taboption('advanced', form.ListValue, 'debug', _('Debug'),
                        _('Debug Level'));
                o.default = '0';
                o.value('0');