mcastmngr: fix err msg on mcast restart

This commit is contained in:
Rahul Thakur 2024-11-26 10:28:07 +05:30
parent 8c6c12fe53
commit 01b5c29100
2 changed files with 7 additions and 12 deletions

View file

@ -35,15 +35,14 @@ start_service() {
if [ -z "${PROG_PARAMS}" ]; then
start_mcast_service
return
else
local prev_IFS="${IFS}"
IFS=${PROG_PARAMS_SEPARATOR}
for param in ${PROG_PARAMS}; do
IFS="${prev_IFS}"
start_mcast_service ${param}
done
fi
local prev_IFS="${IFS}"
IFS=${PROG_PARAMS_SEPARATOR}
for param in ${PROG_PARAMS}; do
IFS="${prev_IFS}"
start_mcast_service ${param}
done
}
boot() {

View file

@ -417,8 +417,4 @@ configure_mcast() {
read_mcast_snooping_params
read_mcast_proxy_params
config_mcproxy
if [ -z "${PROG_PARAMS}" ]; then
exit 0
fi
}