From 8caa119621002d17ad862b0750381698ac1904e8 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Wed, 19 May 2021 23:45:29 +0200 Subject: [PATCH] gluon-client-bridge: adapt to new bridge handling --- .../lib/gluon/upgrade/300-gluon-client-bridge-network | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/gluon-client-bridge/luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network b/package/gluon-client-bridge/luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network index 490325cf..93cbd314 100755 --- a/package/gluon-client-bridge/luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network +++ b/package/gluon-client-bridge/luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network @@ -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,