summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2018-01-02 18:26:16 +0100
committerJo-Philipp Wich <jo@mein.io>2018-01-02 18:26:16 +0100
commitdbb694c699f80f387c61d531cb3e8de2608edbec (patch)
treeae2f32a75c73c454676cb3a5b5529e333e030087
parentc8b48f95246c30ca486567b3a1d96df16e0c2d8c (diff)
luci-mod-admin-full: allow a wider range of DSL SNR margins
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r--modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
index 83fdaadcb..1cbd18191 100644
--- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
+++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua
@@ -57,8 +57,8 @@ if fs.access("/etc/init.d/dsl_control") then
ds_snr = dsl:option(ListValue, "ds_snr_offset", translate("Downstream SNR offset"))
ds_snr:depends("line_mode", "adsl")
- for i = -50, 50, 5 do
- ds_snr:value(i, translate("%.1f dB" %{ i / 10} ))
+ for i = -100, 100, 5 do
+ ds_snr:value(i, translatef("%.1f dB", i / 10))
end
end