From 2bb5eefb38c9b2d3ebbedb808cb1a5ee27c0ec7f Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 12 Jul 2024 18:20:31 +0200 Subject: [PATCH] add ipv4 dhcp to client bridge --- .../luasrc/lib/gluon/upgrade/300-gluon-client-bridge-network | 5 +++++ 1 file changed, 5 insertions(+) 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 3d4dbac38..37f1ef832 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 @@ -21,6 +21,11 @@ uci:section('network', 'interface', 'client', { ra_holdoff = 30, }) +uci:section('network', 'interface', 'client_dhcp', { + ifname = 'br-client', + proto = 'dhcp', +}) + uci:save('network') uci:section('firewall', 'zone', 'drop', {