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

LEDE Commits lede-commits at lists.infradead.org
Tue Jun 7 14:02:40 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/26958e9724968b0b15d86f5b38a41d1d845ad2d9

commit 26958e9724968b0b15d86f5b38a41d1d845ad2d9
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>
    (cherry picked from commit 90e4c8c6e6fe060d849a5b96bc7595345ce3d6ea)
---
 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 b5ee52a682..dc028c289e 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
@@ -9,6 +9,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