mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-06 02:16:10 +02:00
base-files: fix typo in config_generate MAC check
Fixes: 125deb4d783e ("base-files: set MAC for bridge ports (devices) instead of bridge itself")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 946019637ec9192450c685a61c589a9cbef7637b)
This commit is contained in:
parent
125deb4d78
commit
74dbf3412b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user