aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2022-05-23 21:05:59 +0200
committerÁlvaro Fernández Rojas <noltari@gmail.com>2022-05-23 21:05:59 +0200
commit90e4c8c6e6fe060d849a5b96bc7595345ce3d6ea (patch)
treefec3e974ad17c0623ddf8d2d7304a7e1e6bd9456
parent24cc341fdc917460721e7c09708f5676c1361c91 (diff)
downloadupstream-90e4c8c6e6fe060d849a5b96bc7595345ce3d6ea.tar.gz
upstream-90e4c8c6e6fe060d849a5b96bc7595345ce3d6ea.tar.bz2
upstream-90e4c8c6e6fe060d849a5b96bc7595345ce3d6ea.zip
bmips: dgnd3700v2: fix network config
ucidef_set_bridge_device is needed for DGND3700v2 network config since VLAN 1 must be used for the switch to be correctly configured. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--target/linux/bmips/nand/base-files/etc/board.d/02_network1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/bmips/nand/base-files/etc/board.d/02_network b/target/linux/bmips/nand/base-files/etc/board.d/02_network
index e8862e8e60..e853621665 100644
--- a/target/linux/bmips/nand/base-files/etc/board.d/02_network
+++ b/target/linux/bmips/nand/base-files/etc/board.d/02_network
@@ -10,6 +10,7 @@ comtrend,vr-3032u)
ucidef_set_interface_lan "lan1 lan2 lan3 lan4"
;;
netgear,dgnd3700-v2)
+ ucidef_set_bridge_device switch
ucidef_set_interface_lan "extsw"
;;
esac