diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-07-08 17:34:40 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-07-08 17:34:40 +0000 |
commit | a7edc0ad5e3bfb7362b839a2ebab81c6ff3e8469 (patch) | |
tree | fdd3f5343f17f1c75c2fb5d82da574d126db234f /etc | |
parent | 6f5d0107d78727cacd974183a87df738b6d452ab (diff) | |
download | pfsense-a7edc0ad5e3bfb7362b839a2ebab81c6ff3e8469.zip pfsense-a7edc0ad5e3bfb7362b839a2ebab81c6ff3e8469.tar.gz |
Use the available function to avoid some errors.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index f0b016e..a8d19bf 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 (is_dhcp_running($ifinfo['if']) == true) + if (find_dhclient_process($ifinfo['if']) == true) $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 (is_dhcp_running($ifinfo['if']) == true) + if (find_dhclient_process($ifinfo['if']) == true) $ifinfo['dhcplink'] = "up"; else $ifinfo['dhcplink'] = "down"; @@ -1666,4 +1666,4 @@ function isvm() { return false; } -?>
\ No newline at end of file +?> |