diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-03-07 17:38:30 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-03-07 17:39:34 +0100 |
commit | f8e08ffd94ded1b3b3ae58566d130c2dfa71e531 (patch) | |
tree | cbfa5e579d36f3a805e71177c8d0c98e973c62a1 /target | |
parent | 20a2db83de5803a0899f3164a25314300557a703 (diff) | |
download | upstream-f8e08ffd94ded1b3b3ae58566d130c2dfa71e531.tar.gz upstream-f8e08ffd94ded1b3b3ae58566d130c2dfa71e531.tar.bz2 upstream-f8e08ffd94ded1b3b3ae58566d130c2dfa71e531.zip |
ramips: fix Linksys RE6500 switch port mapping
Properly map the internal switch ports to the proper LAN1..LAN4 labels.
Fixes #530.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index ef0f5a9660..2dd6793476 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -124,7 +124,6 @@ ramips_setup_interfaces() "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "5@eth0" ;; asl26555|\ - re6500|\ rp-n53) ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0" @@ -238,6 +237,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan:2" "2:lan:1" "4:wan" "6@eth0" ;; + re6500) + ucidef_add_switch "switch0" \ + "0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "6@eth0" + ;; rt-n56u) ucidef_add_switch "switch0" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8@eth0" |