ramips: fix wizfi630a swapped lan/wan port
authorLev <leventelist@gmail.com>
Tue, 26 Jun 2018 22:50:11 +0000 (00:50 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 08:44:03 +0000 (09:44 +0100)
The order of the Ethernet ports were mixed up.
This commit fixes the order to be aligned with the physical layout.

Signed-off-by: Lev <leventelist@gmail.com>
(backported from 3d6f57f3c6dabfe3911ffb1f1a2afbe3ff41c3fd)

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

index 0c7e8d79b7a84e4f1a0a8eb97bde65aba268ffd9..ebf40ad1fa874d324b43c8f0613bca53a19ab2d0 100755 (executable)
@@ -373,7 +373,7 @@ ramips_setup_interfaces()
                ;;
        wizfi630a)
                ucidef_add_switch "switch0" \
-                       "1:lan" "2:lan" "0:wan" "6@eth0"
+                       "0:lan" "1:lan" "2:wan" "6@eth0"
                ;;
        wt3020-4M|\
        wt3020-8M)