diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/vlan.lua | 1 |
1 files changed, 1 insertions, 0 deletions
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 dd8a6c64a0..48e4329464 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 |