mirror of https://github.com/hak5/openwrt.git
igmpproxy: remove firewall rules when service is stopped
Remove multicast routing firewall rules when the igmpproxy is stopped by
triggering a firewall config change.
Keeping the firewall open from the wan for igmp and udp multicast is not
desired when the igmpproxy service is inactive.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
(cherry picked from commit 31ebbe34cc
)
lede-17.01
parent
91e48304a9
commit
c315843f88
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=igmpproxy
|
PKG_NAME:=igmpproxy
|
||||||
PKG_VERSION:=0.1
|
PKG_VERSION:=0.1
|
||||||
PKG_RELEASE:=9
|
PKG_RELEASE:=10
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=@SF/igmpproxy
|
PKG_SOURCE_URL:=@SF/igmpproxy
|
||||||
|
|
|
@ -132,3 +132,7 @@ start_service() {
|
||||||
service_started() {
|
service_started() {
|
||||||
procd_set_config_changed firewall
|
procd_set_config_changed firewall
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stop_service() {
|
||||||
|
procd_set_config_changed firewall
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue