diff options
author | João Chaínho <joaochainho@gmail.com> | 2017-10-14 20:34:05 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-12-14 09:29:30 +0100 |
commit | 4d8a8c80d91e25b98fee5dc7cb298c33b7213b7f (patch) | |
tree | ee48a5bba62ff13e95e9b75fd44105309c93581a | |
parent | 3e98674bcf91c5273fd4ac830581622ee7e62651 (diff) | |
download | upstream-4d8a8c80d91e25b98fee5dc7cb298c33b7213b7f.tar.gz upstream-4d8a8c80d91e25b98fee5dc7cb298c33b7213b7f.tar.bz2 upstream-4d8a8c80d91e25b98fee5dc7cb298c33b7213b7f.zip |
ar71xx: Fix switch port numbering on MIkrotik RB951Ui-2nD and RB493G
This patch fixes the switch port numbering on Mikrotik RB951Ui-2nD (hAP).
Also fixes the switch port numbering shown on LuCI for Mikrotik RB493G.
Signed-off-by: João Chaínho <joaochainho@gmail.com>
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/board.d/02_network | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network index 7cf4212ac7..8d2dddcaed 100755 --- a/target/linux/ar71xx/base-files/etc/board.d/02_network +++ b/target/linux/ar71xx/base-files/etc/board.d/02_network @@ -154,7 +154,6 @@ ar71xx_setup_interfaces() pb42|\ pb44|\ rb-951ui-2hnd|\ - rb-951ui-2nd|\ rb-952ui-5ac2nd|\ routerstation|\ tl-wr710n|\ @@ -167,7 +166,8 @@ ar71xx_setup_interfaces() ;; rb-750-r2|\ rb-750p-pbr2|\ - rb-750up-r2) + rb-750up-r2|\ + rb-951ui-2nd) ucidef_set_interfaces_lan_wan "eth1.1" "eth0" ucidef_add_switch "switch0" \ "0@eth1" "1:lan:4" "2:lan:3" "3:lan:2" "4:lan:1" @@ -417,9 +417,9 @@ ar71xx_setup_interfaces() rb-493g) ucidef_set_interfaces_lan_wan "eth0.1 eth1.1" "eth1.2" ucidef_add_switch "switch0" \ - "0@eth0" "1:lan" "2:lan" "3:lan" "4:lan" + "0@eth0" "1:lan:4" "2:lan:1" "3:lan:2" "4:lan:3" ucidef_add_switch "switch1" \ - "0@eth1" "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" + "0@eth1" "1:lan:4" "2:lan:1" "3:lan:3" "4:lan:2" "5:wan" ;; rb-map-2nd) ucidef_add_switch "switch0" \ |