mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 18:07:52 +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 = {
|
let msg = {
|
||||||
name: notify.data.ifname,
|
name: notify.data.ifname,
|
||||||
'link-ext': true,
|
'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('network.interface.up_none', 'add_device', msg);
|
||||||
ubus.call('dhcprelay', 'check_devices');
|
ubus.call('dhcprelay', 'check_devices');
|
||||||
|
|||||||
Reference in New Issue
Block a user