mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-02-01 18:53:08 +01:00
base-files: fix typo in config_generate MAC check
Fixes:125deb4d78("base-files: set MAC for bridge ports (devices) instead of bridge itself") Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit946019637e)
This commit is contained in:
parent
125deb4d78
commit
74dbf3412b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue