From: Jo-Philipp Wich Date: Mon, 3 Oct 2011 10:30:17 +0000 (+0000) Subject: modules/admin-full: fix various issues in iface cbi model X-Git-Tag: 0.11.0~1659 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f3690b2e0349b517b1d8841fe32639460c8ddf9f;p=oweals%2Fluci.git modules/admin-full: fix various issues in iface cbi model --- diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua index 4b2b88b14..fb418d430 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua @@ -354,7 +354,7 @@ if has_6to4 then end if has_relay then - rnet = s:taboption("general", Value, "network", translate("Relay between networks")) + rnet = s:taboption("general", DynamicList, "network", translate("Relay between networks")) rnet.widget = "checkbox" rnet.exclude = arg[1] rnet.template = "cbi/network_netlist" @@ -367,7 +367,7 @@ mac = s:taboption("physical", Value, "macaddr", translate("