luci-app-statistics: iwinfo: fix interface list preselection

Fixes: #3306
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2019-11-14 11:14:36 +01:00
parent 857cd8c7fa
commit 52a68a43b8

View file

@ -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"