summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-24 15:24:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-24 15:24:07 +0000
commited0e959b7ecc880459f46c7216c9e1255e358a3e (patch)
tree51a5298a692d12263f25a5800a73a4b275b39ac5 /usr/local/www/status_interfaces.php
parent7c35be3e2af2be9735c9dd2c642db86ad8e7bf22 (diff)
downloadpfsense-ed0e959b7ecc880459f46c7216c9e1255e358a3e.zip
pfsense-ed0e959b7ecc880459f46c7216c9e1255e358a3e.tar.gz
is_service_running() -> is_process_running()
Diffstat (limited to 'usr/local/www/status_interfaces.php')
-rwxr-xr-xusr/local/www/status_interfaces.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index ccab892..4b9e794 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -97,7 +97,7 @@ function get_interface_info($ifdescr) {
/* DHCP? -> see if dhclient is up */
if (($ifdescr == "wan") && ($config['interfaces']['wan']['ipaddr'] == "dhcp")) {
/* see if dhclient is up */
- if ($ifinfo['status'] == "up" && is_service_running("dhclient") == true)
+ if ($ifinfo['status'] == "up" && is_process_running("dhclient") == true)
$ifinfo['dhcplink'] = "up";
else
$ifinfo['dhcplink'] = "down";
OpenPOWER on IntegriCloud