From 52a68a43b8f70236bf8276b065458b51983298f1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 14 Nov 2019 11:14:36 +0100 Subject: [PATCH] luci-app-statistics: iwinfo: fix interface list preselection Fixes: #3306 Signed-off-by: Jo-Philipp Wich --- .../luasrc/model/cbi/luci_statistics/iwinfo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua index 20d9509df..e3601710e 100644 --- a/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua +++ b/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua @@ -12,7 +12,7 @@ s = m:section(NamedSection, "collectd_iwinfo", "luci_statistics") o = s:option(Flag, "enable", translate("Enable this plugin")) o.default = 0 -o = s:option(Value, "Interfaces", translate("Monitor interfaces"), +o = s:option(DynamicList, "Interfaces", translate("Monitor interfaces"), translate("Leave unselected to automatically determine interfaces to monitor.")) o.template = "cbi/network_ifacelist" o.widget = "checkbox" -- 2.25.1