It's kiloByte not kilobit...
authorSteven Barth <steven@midlink.org>
Sun, 25 Jan 2009 17:50:26 +0000 (17:50 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 25 Jan 2009 17:50:26 +0000 (17:50 +0000)
applications/luci-upnp/luasrc/model/cbi/upnp/upnp.lua
applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua

index 293b1fb..8d5a592 100644 (file)
@@ -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
index db5a8fa..aaec3b0 100644 (file)
@@ -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