gluon-client-bridge: adapt to new bridge handling
This commit is contained in:
parent
8e630e9f6d
commit
8caa119621
@ -24,11 +24,15 @@ end
|
|||||||
|
|
||||||
util.add_to_set(interfaces, 'local-port')
|
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:delete('network', 'client')
|
||||||
uci:section('network', 'interface', 'client', {
|
uci:section('network', 'interface', 'client', {
|
||||||
type = 'bridge',
|
ifname = 'br-client',
|
||||||
ifname = interfaces,
|
|
||||||
proto = 'none',
|
proto = 'none',
|
||||||
auto = true,
|
auto = true,
|
||||||
ipv6 = false,
|
ipv6 = false,
|
||||||
|
Loading…
Reference in New Issue
Block a user