mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-02-03 05:12:51 +00:00
base-files: fix typo in config_generate MAC check
Fixes: 8d8eb9d13fc6 ("base-files: set MAC for bridge ports (devices) instead of bridge itself") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
parent
c8d8eb9d13
commit
946019637e
@ -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…
Reference in New Issue
Block a user