gluon-config-mode: down/upstream is kbit/s

The bandwidth limit input fields were missing a unit confusing users as to which value should be entered. It's kbit/s for both.
This commit is contained in:
Nils Schneider 2014-06-17 19:33:58 +02:00
parent 8680f3da22
commit 15d3d7fb09
1 changed files with 2 additions and 2 deletions

View File

@ -36,13 +36,13 @@ o:depends("_meshvpn", "1")
o.default = uci:get_bool("gluon-simple-tc", meshvpn_name, "enabled") and o.enabled or o.disabled
o.rmempty = false
o = s:option(Value, "_limit_ingress", "Downstream")
o = s:option(Value, "_limit_ingress", "Downstream (kbit/s)")
o:depends("_limit_enabled", "1")
o.value = uci:get("gluon-simple-tc", meshvpn_name, "limit_ingress")
o.rmempty = false
o.datatype = "integer"
o = s:option(Value, "_limit_egress", "Upstream")
o = s:option(Value, "_limit_egress", "Upstream (kbit/s)")
o:depends("_limit_enabled", "1")
o.value = uci:get("gluon-simple-tc", meshvpn_name, "limit_egress")
o.rmempty = false