]> git.ipfire.org Git - thirdparty/openwrt.git/commit
scripts: fix lan/wan order of malta in qemustart
authorPaul Spooren <mail@aparcar.org>
Mon, 18 May 2026 17:53:49 +0000 (19:53 +0200)
committerPaul Spooren <mail@aparcar.org>
Thu, 21 May 2026 14:06:25 +0000 (16:06 +0200)
commitb8a67fa8d5d33acfc8a1997ad0070f0609d3b182
treeaa92d921c059b705c11d53e1ac7913c0a9891c93
parentc27f9b3ba025f026f2633489971dc55effee84be
scripts: fix lan/wan order of malta in qemustart

OpenWrt's 99-default_network assigns eth0 to lan and eth1 to wan
when no target-specific 02_network is present, which is the case
for malta.  The qemustart bridge block however placed the wan
-device before the lan -device, so the guest's eth0 (lan) ended
up attached to $BR_WAN and eth1 (wan) to $BR_LAN.

Swap the order to match the guest's actual role assignment.

Link: https://github.com/openwrt/openwrt/pull/23424
Signed-off-by: Paul Spooren <mail@aparcar.org>
scripts/qemustart