summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-statistics/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-14 11:14:36 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-14 11:15:22 +0100
commit52a68a43b8f70236bf8276b065458b51983298f1 (patch)
tree4126360c3d30f051af238517a7a0c9d9992d0671 /applications/luci-app-statistics/luasrc
parent857cd8c7fad3ef38680b2f8a2a7ada43a7892349 (diff)
luci-app-statistics: iwinfo: fix interface list preselection
Fixes: #3306 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'applications/luci-app-statistics/luasrc')
-rw-r--r--applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua2
1 files changed, 1 insertions, 1 deletions
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"