From: Jo-Philipp Wich Date: Fri, 22 Jul 2011 13:56:42 +0000 (+0000) Subject: luci-0.10: merge r7330 X-Git-Tag: 0.10.0~93 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=6af27817832b282d50038d62f9dc0ab925c8e9c6;p=oweals%2Fluci.git luci-0.10: merge r7330 --- diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua b/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua index dd8a6c64a..48e432946 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua @@ -172,6 +172,7 @@ m.uci:foreach("network", "switch", if id ~= nil and id > max_id then max_id = id end end) + m.uci:set("network", sid, "device", switch_name) m.uci:set("network", sid, "vlan", max_nr + 1) if has_vlan4k then