gluon-client-bridge: adapt to new bridge handling

This commit is contained in:
David Bauer 2021-05-19 23:45:29 +02:00
parent 8e630e9f6d
commit 8caa119621

View File

@ -24,11 +24,15 @@ end
util.add_to_set(interfaces, 'local-port')
uci:section('network', 'device', 'br_client', {
ifname = 'br-client',
type = 'bridge',
ports = interfaces,
})
uci:delete('network', 'client')
uci:section('network', 'interface', 'client', {
type = 'bridge',
ifname = interfaces,
ifname = 'br-client',
proto = 'none',
auto = true,
ipv6 = false,