[openwrt/openwrt] bmips: dgnd3700v2: fix network config

LEDE Commits lede-commits at lists.infradead.org
Mon May 23 12:07:27 PDT 2022


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/90e4c8c6e6fe060d849a5b96bc7595345ce3d6ea

commit 90e4c8c6e6fe060d849a5b96bc7595345ce3d6ea
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Mon May 23 21:05:59 2022 +0200

    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 at gmail.com>
---
 target/linux/bmips/nand/base-files/etc/board.d/02_network | 1 +
 1 file changed, 1 insertion(+)

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




More information about the lede-commits mailing list