mirror of
https://github.com/outbackdingo/wlan-ap.git
synced 2026-01-27 18:20:50 +00:00
ucentral-state: with swconfig dvlan/local break-out mode
Fixes: WIFI-13316 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -126,7 +126,8 @@ handlers = {
|
||||
vlan: [ `${notify.data.vlan_id}:u` ]
|
||||
};
|
||||
ubus.call('network.interface.up_none', 'add_device', msg);
|
||||
|
||||
if (`${notify.data.vlan_id}` in config.config.swconfig_vlans)
|
||||
return;
|
||||
msg = {
|
||||
name: 'eth0.' + notify.data.vlan_id,
|
||||
vlan: [ `${notify.data.vlan_id}:u` ]
|
||||
|
||||
Reference in New Issue
Block a user