summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-09-09 17:50:55 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-09-09 17:50:55 -0300
commit397e40d52ab44daee99de73970e0ae2e70cce346 (patch)
tree59cfa904489193346371b7cc2b32db6779c7bb76 /etc/inc/pfsense-utils.inc
parentf049d54403256979728a6ec2775b0563a0c5301d (diff)
downloadpfsense-397e40d52ab44daee99de73970e0ae2e70cce346.zip
pfsense-397e40d52ab44daee99de73970e0ae2e70cce346.tar.gz
find_dhclient_process() returns an int, not string
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index 5b5c1dc..3892ba6 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1250,7 +1250,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']) <> "")
+ if (find_dhclient_process($ifinfo['if']) != 0)
$ifinfo['dhcplink'] = "up";
else
$ifinfo['dhcplink'] = "down";
OpenPOWER on IntegriCloud