diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-01-13 13:20:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-13 13:20:59 +0100 |
commit | 84a63ddd9e89361e391a2b66f27c9c444f67ef85 (patch) | |
tree | cef9009bd7b5cbe1ff9fbac80ee3d7eedc79c61e | |
parent | 50a630a95cd9df6bf9b195fade6d32a5c32cd4ae (diff) | |
parent | cfdeaa91fa6be17069eb215df73dd6fc840df122 (diff) |
Merge pull request #1536 from mkresin/master
luci-mod-admin-full: set 0 db DSL SNR offset by default
-rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua | 1 |
1 files changed, 1 insertions, 0 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 57451181e1..2bfe974af1 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 @@ -56,6 +56,7 @@ if fs.access("/etc/init.d/dsl_control") then line_mode:value("vdsl", translate("VDSL")) ds_snr = dsl:option(ListValue, "ds_snr_offset", translate("Downstream SNR offset")) + ds_snr.default = "0" for i = -100, 100, 5 do ds_snr:value(i, translatef("%.1f dB", i / 10)) end |