return;
}
+ append netdevs "$device"
+
[[ "$direction" = "upstream" ]] && has_upstream=1
echo -e "\nphyint $device $direction ratelimit 0 threshold 1" >> /var/etc/igmpproxy.conf
local network
config_get network $1 network
- procd_add_interface_trigger "interface.*" $network /etc/init.d/igmpproxy restart
+ procd_add_interface_trigger "interface.*" $network /etc/init.d/igmpproxy reload
}
igmp_add_firewall_routing() {
start_service() {
has_upstream=
+ netdevs=
config_load igmpproxy
config_foreach igmp_header igmpproxy
[ -n "$OPTIONS" ] && procd_append_param $OPTIONS
procd_append_param command $CONFIGFILE
procd_set_param file $CONFIGFILE
+ procd_set_param netdev $netdevs
procd_set_param respawn
procd_open_trigger
config_foreach igmp_add_network phyint