gluon-core: enable bridge port isolation for br-mesh_other interfaces

This commit is contained in:
Tom Herbers 2022-08-07 21:07:18 +02:00
parent fa123e56d4
commit 33779ccd96
No known key found for this signature in database
GPG Key ID: 841A5B0DCEDA6192

View File

@ -33,6 +33,14 @@ if #mesh_interfaces_other > 0 then
else else
iftype = 'bridge' iftype = 'bridge'
ifname = mesh_interfaces_other ifname = mesh_interfaces_other
for _, iface in ipairs(ifname) do
uci:section('network', 'device', nil, {
name = iface,
isolate = true,
})
end
end end
uci:section('network', 'interface', 'mesh_other', { uci:section('network', 'interface', 'mesh_other', {