luci-mod-admin-full: add 'auto' xfer_mode to dsl configuration 1287/head
authorMartin Schiller <ms@dev.tdt.de>
Mon, 7 Aug 2017 06:06:18 +0000 (08:06 +0200)
committerMartin Schiller <ms@dev.tdt.de>
Mon, 7 Aug 2017 06:06:18 +0000 (08:06 +0200)
This change is needed to support the new default 'auto' xfer_mode
setting.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua

index 385e1141ec658e383d7d164aa1839d4cbdd22299..22f7c5f700ff88e64208594ed338fb2faef988ac 100644 (file)
@@ -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)"))