From a50c56d4749aa8f4c0673614b221254765c29613 Mon Sep 17 00:00:00 2001 From: Martin Schiller Date: Mon, 7 Aug 2017 08:06:18 +0200 Subject: [PATCH] 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 --- .../luasrc/model/cbi/admin_network/network.lua | 1 + 1 file changed, 1 insertion(+) 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 385e1141e..22f7c5f70 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)")) -- 2.25.1