summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-statistics/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-09-30 18:44:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-09-30 18:44:34 +0000
commitc622f0b6d1fdb1ec6b39c309e63f63d6b9cd597b (patch)
treed4369b487d870c050d86115c1c70e0f9fa2061b0 /applications/luci-statistics/luasrc/model
parent8138c8475d9573b834ca8dcba1b8f37647d61212 (diff)
* luci/i18n/portuguese_brazilian: core translation fixes
* luci/app/statistics: add missing strings for dns, unixsock and email plugin - thanks Carlos!
Diffstat (limited to 'applications/luci-statistics/luasrc/model')
-rw-r--r--applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
index be391a9c0..02fa4cb0b 100644
--- a/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
+++ b/applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua
@@ -26,13 +26,15 @@ enable = s:option( Flag, "enable" )
enable.default = 0
-- collectd_dns.interfaces (Interface)
-interfaces = s:option( ListValue, "Interfaces" )
+interfaces = s:option( MultiValue, "Interfaces" )
+interfaces.widget = "select"
+interfaces.size = 5
interfaces:depends( "enable", 1 )
interfaces:value("any")
for k, v in pairs(luci.sys.net.devices()) do
- interfaces:value(v)
+ interfaces:value(v)
end
-
+
-- collectd_dns.ignoresources (IgnoreSource)
ignoresources = s:option( Value, "IgnoreSources" )
ignoresources.default = "127.0.0.1"