Skip to content
Snippets Groups Projects
Commit 8600a2f2 authored by Nils Schneider's avatar Nils Schneider
Browse files

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.
parent 5d3ce91f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment