summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_services.php
diff options
context:
space:
mode:
authorErmal Luci <eri@pfsense.org>2009-01-28 18:13:50 +0000
committerErmal Luci <eri@pfsense.org>2009-01-28 18:13:50 +0000
commit41997fbbeb2b5c50507ad18fa4ea2bb6fbea4ee2 (patch)
tree19bbf8897e0a0c11faf7f9d5c20f912b233c750b /usr/local/www/status_services.php
parentf668d1597294dd35244cd4dc0d76626b58336b2d (diff)
downloadpfsense-41997fbbeb2b5c50507ad18fa4ea2bb6fbea4ee2.zip
pfsense-41997fbbeb2b5c50507ad18fa4ea2bb6fbea4ee2.tar.gz
Add the GUI part for IGMPproxy that has been on the snapshots for a while.
Diffstat (limited to 'usr/local/www/status_services.php')
-rwxr-xr-xusr/local/www/status_services.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr/local/www/status_services.php b/usr/local/www/status_services.php
index c7e9891..a7eef1c 100755
--- a/usr/local/www/status_services.php
+++ b/usr/local/www/status_services.php
@@ -64,6 +64,9 @@ if($_GET['mode'] == "restartservice" and $_GET['service']) {
case 'dhcpd':
services_dhcpd_configure();
break;
+ case 'igmpproxy':
+ services_igmpproxy_configure();
+ break;
case 'miniupnpd':
upnp_action('restart');
break;
@@ -107,6 +110,9 @@ if($_GET['mode'] == "startservice" and $_GET['service']) {
case 'dhcpd':
services_dhcpd_configure();
break;
+ case 'igmpproxy':
+ services_igmpproxy_configure();
+ break;
case 'miniupnpd':
upnp_action('start');
break;
@@ -154,6 +160,9 @@ if($_GET['mode'] == "stopservice" && $_GET['service']) {
case 'dnsmasq':
killbypid("{$g['varrun_path']}/dnsmasq.pid");
break;
+ case 'igmpproxy':
+ killbyname("igmpproxy");
+ break;
case 'miniupnpd':
upnp_action('stop');
break;
@@ -286,6 +295,13 @@ if(isset($config['proxyarp']['proxyarpnet'])) {
unset($pconfig);
}
+if (count($config['igmpproxy']['igmpentry']) > 0) {
+ $pconfig['name'] = "igmpproxy";
+ $pconfig['descritption'] = "IGMP proxy";
+ $services[] = $pconfig;
+ unset($pconfig);
+}
+
if($config['installedpackages']['miniupnpd']['config'][0]['enable']) {
$pconfig['name'] = "miniupnpd";
$pconfig['description'] = gettext("UPnP Service");
OpenPOWER on IntegriCloud