summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-admin-full/luasrc/model/cbi
diff options
context:
space:
mode:
authorMartin Schiller <ms@dev.tdt.de>2017-08-07 08:06:18 +0200
committerMartin Schiller <ms@dev.tdt.de>2017-08-07 08:06:18 +0200
commita50c56d4749aa8f4c0673614b221254765c29613 (patch)
tree0b0f0e86bf60093344f278d3ff2b24d1e7ad18c5 /modules/luci-mod-admin-full/luasrc/model/cbi
parentbf7e21c65c2dc34581e90390802e65437e24304d (diff)
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 <ms@dev.tdt.de>
Diffstat (limited to 'modules/luci-mod-admin-full/luasrc/model/cbi')
-rw-r--r--modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua1
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 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)"))