mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 01:22:25 +00:00
ucentral-event: fix dynamic vlan
since the latest netifd update, dynamic vlans need to be set to untagged explicitly Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -131,7 +131,7 @@ let handlers = {
|
||||
let msg = {
|
||||
name: notify.data.ifname,
|
||||
'link-ext': true,
|
||||
vlan: [ `${notify.data.vlan_id}` ]
|
||||
vlan: [ `${notify.data.vlan_id}:u` ]
|
||||
};
|
||||
ubus.call('network.interface.up_none', 'add_device', msg);
|
||||
ubus.call('dhcprelay', 'check_devices');
|
||||
|
||||
Reference in New Issue
Block a user