summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/services.inc4
-rwxr-xr-xetc/rc.newwanip3
2 files changed, 5 insertions, 2 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 314a891..ebb1bf9 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -399,14 +399,14 @@ EOD;
function services_igmpproxy_configure() {
global $config, $g;
- $iflist = get_configured_interface_list();
-
/* kill any running igmpproxy */
killbyname("igmpproxy");
if (!is_array($config['igmpproxy']['igmpentry']))
return 1;
+ $iflist = get_configured_interface_list();
+
$igmpconf = <<<EOD
##------------------------------------------------------
diff --git a/etc/rc.newwanip b/etc/rc.newwanip
index f4e59c7..654d0dd 100755
--- a/etc/rc.newwanip
+++ b/etc/rc.newwanip
@@ -138,6 +138,9 @@ if (substr($interface_real, 0, 4) != "ovpn")
/* reload graphing functions */
enable_rrd_graphing();
+/* reload igmpproxy */
+services_igmpproxy_configure();
+
restart_packages();
?>
OpenPOWER on IntegriCloud