summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-keepalived/htdocs/luci-static/resources
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-05-10 09:33:28 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-05-10 09:33:30 +0200
commit61e7e121dcb3afb18596add0488e98da134ebd45 (patch)
treea829d18d0d5d8b59a0312434b974b69313bac57c /applications/luci-app-keepalived/htdocs/luci-static/resources
parent7656c64afb7d3769254f250e0c9b09b7daa98a13 (diff)
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 <fe@dev.tdt.de>
Diffstat (limited to 'applications/luci-app-keepalived/htdocs/luci-static/resources')
-rw-r--r--applications/luci-app-keepalived/htdocs/luci-static/resources/view/keepalived/vrrp_instance.js2
1 files changed, 1 insertions, 1 deletions
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');