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-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d1d84da1c38774b2ba4db1fefaf3bc69455b7dc7;p=openwrt%2Fstaging%2Fzorun.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 660d72620c..77cc8d63f9 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -237,7 +237,6 @@ ramips_setup_interfaces() jhr-n825r|\ jhr-n926r|\ mikrotik,rb750gr3|\ - mikrotik,rbm33g|\ mzk-wdpr|\ rt-n14u|\ skylab,skw92a|\ @@ -262,6 +261,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)