gluon-core: enable bridge port isolation for br-mesh_other interfaces
(cherry picked from commit 33779ccd96
)
This commit is contained in:
parent
ab1fb054f6
commit
a4243e0376
@ -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