From 946019637ec9192450c685a61c589a9cbef7637b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Mon, 14 Jun 2021 22:29:49 +0200 Subject: [PATCH] base-files: fix typo in config_generate MAC check MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes: 8d8eb9d13fc6 ("base-files: set MAC for bridge ports (devices) instead of bridge itself") Signed-off-by: Rafał Miłecki --- package/base-files/files/bin/config_generate | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate index b3752c54308..596fcf41fad 100755 --- a/package/base-files/files/bin/config_generate +++ b/package/base-files/files/bin/config_generate @@ -116,7 +116,7 @@ generate_network() { set network.@device[-1].type='bridge' EOF for port in $ports; do uci add_list network.@device[-1].ports="$port"; done - [ -n "macaddr" ] && { + [ -n "$macaddr" ] && { for port in $ports; do uci -q batch <<-EOF add network device -- 2.30.2