Merge pull request #2600 from herbetom/bridge-isolated-devices
This commit is contained in:
commit
0c66dc86d2
@ -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', {
|
||||||
|
Loading…
Reference in New Issue
Block a user