From 52a68a43b8f70236bf8276b065458b51983298f1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 14 Nov 2019 11:14:36 +0100 Subject: luci-app-statistics: iwinfo: fix interface list preselection Fixes: #3306 Signed-off-by: Jo-Philipp Wich --- .../luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-statistics/luasrc/model') 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 20d9509df8..e3601710ec 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" -- cgit v1.2.3