mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
mcastmngr: Set the "igmp" as the default protocol for mcast proxy/snooping config
For example, in the current LUCI iptv page, option "proto" is not provided, and IGMP is assumed.
This commit is contained in:
parent
6d0de809ec
commit
8b39953242
1 changed files with 2 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ read_snooping() {
|
||||||
local proto
|
local proto
|
||||||
|
|
||||||
config_get sec_enable "$config" enable 0
|
config_get sec_enable "$config" enable 0
|
||||||
config_get proto "$config" proto
|
config_get proto "$config" proto "igmp"
|
||||||
|
|
||||||
if [ "$sec_enable" == "0" ]; then
|
if [ "$sec_enable" == "0" ]; then
|
||||||
return
|
return
|
||||||
|
|
@ -103,7 +103,7 @@ read_proxy() {
|
||||||
local proto
|
local proto
|
||||||
|
|
||||||
config_get sec_enable "$config" enable 0
|
config_get sec_enable "$config" enable 0
|
||||||
config_get proto "$config" proto
|
config_get proto "$config" proto "igmp"
|
||||||
|
|
||||||
if [ "$sec_enable" == "0" ]; then
|
if [ "$sec_enable" == "0" ]; then
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue