gluon-core: enable bridge port isolation for br-mesh_other interfaces
This commit is contained in:
parent
fa123e56d4
commit
33779ccd96
@ -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