From: Martin Schiller Date: Wed, 4 Dec 2019 09:43:02 +0000 (+0100) Subject: ramips: fix number of LAN Ports for Mikrotik RBM33G X-Git-Tag: v18.06.6~23 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d08a63770c69a6e4a3014246c74245ab41795e3e;p=openwrt%2Fopenwrt.git ramips: fix number of LAN Ports for Mikrotik RBM33G The Mikrotik RBM33G has only 2 LAN ports. Signed-off-by: Martin Schiller [moved node in 02_network to maintain alphabetic sorting; backport] Signed-off-by: Adrian Schmutzler (cherry picked from commit 3a55c7935d4efdc86575601cb4aa7bc94e3c5e44) --- 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 d94b705cfe..4a58f61b92 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -198,7 +198,6 @@ ramips_setup_interfaces() jhr-n805r|\ jhr-n825r|\ jhr-n926r|\ - mikrotik,rbm33g|\ mzk-wdpr|\ rb750gr3|\ rt-n14u|\ @@ -221,6 +220,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0" ;; + mikrotik,rbm33g) + ucidef_add_switch "switch0" \ + "1:lan" "2:lan" "0:wan" "6@eth0" + ;; c20i|\ c50|\ tplink,c20-v1)