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:
John Crispin
2023-07-21 11:55:17 +02:00
parent 0ad0aa8255
commit 2f7a1e5952

View File

@@ -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');