mirror of https://git.openwrt.org/project/luci.git
It's kiloByte not kilobit...
This commit is contained in:
parent
eceeed951f
commit
ca7c50624f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
return m
|
||||
|
|
Loading…
Reference in New Issue