developer | 6a02762 | 2023-08-29 06:38:24 +0800 | [diff] [blame] | 1 | From c2d313b529fc01072a89cdc475a6506357c840c9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Evelyn Tsai <evelyn.tsai@mediatek.com> |
| 3 | Date: Tue, 29 Aug 2023 06:31:35 +0800 |
| 4 | Subject: [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 | |
| 10 | diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate |
| 11 | index 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 | -- |
| 23 | 2.18.0 |
| 24 | |