From: Martin Schiller Date: Mon, 7 Aug 2017 06:06:18 +0000 (+0200) Subject: luci-mod-admin-full: add 'auto' xfer_mode to dsl configuration X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F1287%2Fhead;p=project%2Fluci.git luci-mod-admin-full: add 'auto' xfer_mode to dsl configuration This change is needed to support the new default 'auto' xfer_mode setting. Signed-off-by: Martin Schiller --- 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 385e1141ec..22f7c5f700 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 @@ -38,6 +38,7 @@ if fs.access("/etc/init.d/dsl_control") then tone:value("bv", translate("B43 + B43C + V43")) xfer_mode = dsl:option(ListValue, "xfer_mode", translate("Encapsulation mode")) + xfer_mode:value("", translate("auto")) xfer_mode:value("atm", translate("ATM (Asynchronous Transfer Mode)")) xfer_mode:value("ptm", translate("PTM/EFM (Packet Transfer Mode)"))