From 61e7e121dcb3afb18596add0488e98da134ebd45 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 10 May 2024 09:33:28 +0200 Subject: [PATCH] luci-app-keepalived: fix copy past error for the debug option 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 --- .../luci-static/resources/view/keepalived/vrrp_instance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js index c6db62d2b1..f9f92f57f5 100644 --- a/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js +++ b/applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js @@ -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'); -- 2.30.2