summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-07-08 17:41:14 +0000
committerErmal Luçi <eri@pfsense.org>2009-07-08 17:41:14 +0000
commitc4f31acae286c58649fbe337576d275368af6953 (patch)
tree62b09c9af67aeeb9828165702c05e1154aac34ea /etc/inc/pfsense-utils.inc
parenta7edc0ad5e3bfb7362b839a2ebab81c6ff3e8469 (diff)
downloadpfsense-c4f31acae286c58649fbe337576d275368af6953.zip
pfsense-c4f31acae286c58649fbe337576d275368af6953.tar.gz
Test better with function change.
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index a8d19bf..24e478e 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1396,7 +1396,7 @@ function get_interface_info($ifdescr) {
/* DHCP? -> see if dhclient is up */
case "dhcp":
/* see if dhclient is up */
- if (find_dhclient_process($ifinfo['if']) == true)
+ if (find_dhclient_process($ifinfo['if']) <> "")
$ifinfo['dhcplink'] = "up";
else
$ifinfo['dhcplink'] = "down";
@@ -1404,7 +1404,7 @@ function get_interface_info($ifdescr) {
break;
case "carpdev-dhcp":
/* see if dhclient is up */
- if (find_dhclient_process($ifinfo['if']) == true)
+ if (find_dhclient_process($ifinfo['if']) <> "")
$ifinfo['dhcplink'] = "up";
else
$ifinfo['dhcplink'] = "down";
OpenPOWER on IntegriCloud