From: Steven Barth Date: Sun, 25 Jan 2009 17:52:36 +0000 (+0000) Subject: It's kiloByte not kilobit... X-Git-Tag: 0.8.5~38 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ca7c50624fbf9d03ba74a522c6ae8e5bbb953d48;p=project%2Fluci.git It's kiloByte not kilobit... --- diff --git a/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua b/applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua index 293b1fb966..8d5a592b11 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 db5a8fae5a..aaec3b0ccf 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