summaryrefslogtreecommitdiffhomepage
path: root/applications
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-01-25 17:50:26 +0000
committerSteven Barth <steven@midlink.org>2009-01-25 17:50:26 +0000
commit233159e9d43ee86963a061434f77473849aea985 (patch)
treed438197cbea7206d0a8385f750a80dc34d8d92a2 /applications
parentea6c11f863929dcd97f47387ad43a53f335deb57 (diff)
It's kiloByte not kilobit...
Diffstat (limited to 'applications')
-rw-r--r--applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua4
-rw-r--r--applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua6
2 files changed, 5 insertions, 5 deletions
diff --git a/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua b/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
index 293b1fb96..8d5a592b1 100644
--- a/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
+++ b/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
@@ -27,7 +27,7 @@ end
s:option(Flag, "secure_mode").rmempty = true
s:option(Flag, "log_output").rmempty = true
-s:option(Value, "download", nil, "kb/s").rmempty = true
-s:option(Value, "upload", nil, "kb/s").rmempty = true
+s:option(Value, "download", nil, "kByte/s").rmempty = true
+s:option(Value, "upload", nil, "kByte/s").rmempty = true
return m
diff --git a/applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua b/applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua
index db5a8fae5..aaec3b0cc 100644
--- a/applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua
+++ b/applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua
@@ -25,7 +25,7 @@ function e.cfgvalue(self, section)
return (os.execute("/etc/init.d/miniupnpd enabled") == 0) and "1" or "0"
end
-s:option(Value, "download", nil, "kb/s").rmempty = true
-s:option(Value, "upload", nil, "kb/s").rmempty = true
+s:option(Value, "download", nil, "kByte/s").rmempty = true
+s:option(Value, "upload", nil, "kByte/s").rmempty = true
-return m \ No newline at end of file
+return m