[PATCH] ipq40xx: specify FritzBox 7530 LAN port label numbers
Rafał Miłecki
zajec5 at gmail.com
Wed Jun 9 22:14:03 PDT 2021
From: Rafał Miłecki <rafal at milecki.pl>
This helps managing LAN ports.
Ref: https://forum.openwrt.org/t/openwrt-21-02-0-second-release-candidate/98026/121
Fixes: 95b0c07a618f ("ipq40xx: add support for FritzBox 7530")
Cc: David Bauer <mail at david-bauer.net>
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
target/linux/ipq40xx/base-files/etc/board.d/02_network | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network
index ecdbac8f86..a675acc8db 100644
--- a/target/linux/ipq40xx/base-files/etc/board.d/02_network
+++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network
@@ -65,7 +65,7 @@ ipq40xx_setup_interfaces()
;;
avm,fritzbox-7530)
ucidef_add_switch "switch0" \
- "0u at eth0" "1:lan" "2:lan" "3:lan" "4:lan"
+ "0u at eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
;;
avm,fritzrepeater-3000)
ucidef_add_switch "switch0" \
--
2.26.2
More information about the openwrt-devel
mailing list