luci-mod-admin-full: set 0 db DSL SNR offset by default
authorMathias Kresin <dev@kresin.me>
Sat, 13 Jan 2018 06:44:29 +0000 (07:44 +0100)
committerJo-Philipp Wich <jo@mein.io>
Fri, 20 Jul 2018 07:32:06 +0000 (09:32 +0200)
commit7bf036750081787e01339c82865ad45fca6520ef
tree4caf3b65e83a01aa922a9350348dd2d2a76f9c00
parent6d349c5f7065f68d6d1d4d636c658d1f00c8b6e0
luci-mod-admin-full: set 0 db DSL SNR offset by default

If no DSL SNR offset is set for the dsl line the first entry from the
dropdown list is pre-selected by default, which would apply a -10 db
offset by default.

Pre-select the 0 db option if nothing else is specified in the uci config
files.

Signed-off-by: Mathias Kresin <dev@kresin.me>
(backported from commit cfdeaa91fa6be17069eb215df73dd6fc840df122)
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua