blob: 390ac56f3158c49a4084082ee97e231031d41691 [file] [log] [blame]
developer6a027622023-08-29 06:38:24 +08001From c2d313b529fc01072a89cdc475a6506357c840c9 Mon Sep 17 00:00:00 2001
2From: Evelyn Tsai <evelyn.tsai@mediatek.com>
3Date: Tue, 29 Aug 2023 06:31:35 +0800
4Subject: [PATCH] network: enable bridge igmp_snooping by default
5
6---
7 package/base-files/files/bin/config_generate | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
11index 3836281..68c0535 100755
12--- a/package/base-files/files/bin/config_generate
13+++ b/package/base-files/files/bin/config_generate
14@@ -114,6 +114,7 @@ generate_network() {
15 add network device
16 set network.@device[-1].name='br-$1'
17 set network.@device[-1].type='bridge'
18+ set network.@device[-1].igmp_snooping='1'
19 EOF
20 for port in $ports; do uci add_list network.@device[-1].ports="$port"; done
21 [ -n "$macaddr" ] && {
22--
232.18.0
24