summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-23 23:39:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-23 23:39:42 +0000
commit0c8de638040865a215545766aad8c48bd2ebc46a (patch)
tree6fc088345834ab87c348931396e005abef6be992 /usr/local/www/status_interfaces.php
parentc3b3cd366611aee87ce8218418e014be57c9f5ce (diff)
downloadpfsense-0c8de638040865a215545766aad8c48bd2ebc46a.zip
pfsense-0c8de638040865a215545766aad8c48bd2ebc46a.tar.gz
is_service_running returns true, use it.
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 32b58a7..ccab892 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"))
+ if ($ifinfo['status'] == "up" && is_service_running("dhclient") == true)
$ifinfo['dhcplink'] = "up";
else
$ifinfo['dhcplink'] = "down";
OpenPOWER on IntegriCloud