From 15d3d7fb099b000ddb25965877d1989b38b85993 Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Tue, 17 Jun 2014 19:33:58 +0200 Subject: [PATCH] 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. --- .../usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gluon/gluon-config-mode/files/usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua b/gluon/gluon-config-mode/files/usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua index de5d42e..a069832 100644 --- a/gluon/gluon-config-mode/files/usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua +++ b/gluon/gluon-config-mode/files/usr/lib/lua/luci/model/cbi/gluon-config-mode/wizard.lua @@ -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