ipq40xx: specify FritzBox 7530 LAN port label numbers
authorRafał Miłecki <rafal@milecki.pl>
Thu, 10 Jun 2021 05:14:03 +0000 (07:14 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 3 Jan 2022 13:00:34 +0000 (14:00 +0100)
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@david-bauer.net>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 3342d574be08db8926273678291497769d2365e9)

target/linux/ipq40xx/base-files/etc/board.d/02_network

index 1d4c78833afcee55227879187aa5cce5bd16db93..c70aa0b95c332ded14176bca9d4e22bc1b8ca279 100755 (executable)
@@ -65,7 +65,7 @@ ipq40xx_setup_interfaces()
                ;;
        avm,fritzbox-7530)
                ucidef_add_switch "switch0" \
-                       "0u@eth0" "1:lan" "2:lan" "3:lan" "4:lan"
+                       "0u@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1"
                ;;
        avm,fritzrepeater-3000)
                ucidef_add_switch "switch0" \