aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/igmpproxy/files
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2017-11-13 22:33:48 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-11-14 22:01:44 +0100
commit31ebbe34ccc066c212ef20de0856ab3a428fb801 (patch)
tree5922da943dfdce9385c0a380702843ac79f5e1e8 /package/network/services/igmpproxy/files
parent769e1bac7b2d41428b25e79b429c2d6a577dc5e3 (diff)
downloadupstream-31ebbe34ccc066c212ef20de0856ab3a428fb801.tar.gz
upstream-31ebbe34ccc066c212ef20de0856ab3a428fb801.tar.bz2
upstream-31ebbe34ccc066c212ef20de0856ab3a428fb801.zip
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>
Diffstat (limited to 'package/network/services/igmpproxy/files')
-rw-r--r--package/network/services/igmpproxy/files/igmpproxy.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/network/services/igmpproxy/files/igmpproxy.init b/package/network/services/igmpproxy/files/igmpproxy.init
index 9f4e51ada4..403854546f 100644
--- a/package/network/services/igmpproxy/files/igmpproxy.init
+++ b/package/network/services/igmpproxy/files/igmpproxy.init
@@ -132,3 +132,7 @@ start_service() {
service_started() {
procd_set_config_changed firewall
}
+
+stop_service() {
+ procd_set_config_changed firewall
+}