diff options
author | Ermal Luci <eri@pfsense.org> | 2009-01-28 18:13:50 +0000 |
---|---|---|
committer | Ermal Luci <eri@pfsense.org> | 2009-01-28 18:13:50 +0000 |
commit | 41997fbbeb2b5c50507ad18fa4ea2bb6fbea4ee2 (patch) | |
tree | 19bbf8897e0a0c11faf7f9d5c20f912b233c750b /usr/local/www/status_services.php | |
parent | f668d1597294dd35244cd4dc0d76626b58336b2d (diff) | |
download | pfsense-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-x | usr/local/www/status_services.php | 16 |
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"); |