summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-03-17 18:02:23 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-03-17 18:02:23 +0000
commit70806677535f222bf115151da58a891506bb0adf (patch)
tree3205d55686e074760967bcff85fd765b33f2628c
parent39fae00e61657ddac25da320f239a95ec9e79c3e (diff)
applications/luci-upnp: add a note that up and download speeds are informational only
-rw-r--r--applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua b/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
index d1d95c6b0..830fc26c5 100644
--- a/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
+++ b/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
@@ -46,8 +46,11 @@ s:taboption("general", Flag, "enable_natpmp", translate("Enable NAT-PMP function
s:taboption("general", Flag, "secure_mode", translate("Enable secure mode")).default = "1"
s:taboption("general", Flag, "log_output", translate("Log output")).default = "1"
-s:taboption("general", Value, "download", translate("Downlink"), "kByte/s").rmempty = true
-s:taboption("general", Value, "upload", translate("Uplink"), "kByte/s").rmempty = true
+s:taboption("general", Value, "download", translate("Downlink"),
+ translate("Value in KByte/s, informational only")).rmempty = true
+
+s:taboption("general", Value, "upload", translate("Uplink"),
+ translate("Value in KByte/s, informational only")).rmempty = true
port = s:taboption("general", Value, "port", translate("Port"))
port.datatype = "port"