[openwrt/openwrt] ipq40xx: specify FritzBox 7530 LAN port label numbers

LEDE Commits lede-commits at lists.infradead.org
Thu Jun 24 00:02:51 PDT 2021


rmilecki pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3342d574be08db8926273678291497769d2365e9

commit 3342d574be08db8926273678291497769d2365e9
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Thu Jun 10 07:14:03 2021 +0200

    ipq40xx: specify FritzBox 7530 LAN port label numbers
    
    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" \



More information about the lede-commits mailing list