Merge pull request #2600 from herbetom/bridge-isolated-devices

This commit is contained in:
Martin Weinelt 2022-10-18 10:50:03 +02:00 committed by GitHub
commit 0c66dc86d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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', {