mcastmngr: Support hybrid proxying/snooping.

Support running mcproxy and snooping simultanous.
This commit is contained in:
Markus Gothe 2024-10-17 16:19:04 +02:00
parent 5c819b2018
commit a7074db9f8

View file

@ -394,13 +394,15 @@ config_mcproxy() {
disable_snooping
if [ "$igmp_p_enable" == "1" ]; then
config_mcproxy_instance igmp "$igmp_p_version"
elif [ "$igmp_s_enable" == "1" ]; then
fi
if [ "$igmp_s_enable" == "1" ]; then
config_snooping igmp "$igmp_s_version"
fi
if [ "$mld_p_enable" == "1" ]; then
config_mcproxy_instance mld "$mld_p_version"
elif [ "$mld_s_enable" == "1" ]; then
fi
if [ "$mld_s_enable" == "1" ]; then
config_snooping mld "$mld_s_version"
fi
}