summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-05-25 12:52:59 -0600
committerErik Fonnesbeck <efonnes@gmail.com>2010-05-25 12:52:59 -0600
commit1cf76394eed899cdcd47cb9008ace6bed2353641 (patch)
tree87a5c9daff3b437ad3c1125fc51aa620d97c7947 /etc
parentb99544e86cb9e67df600c97d41d2b7c702454ad9 (diff)
downloadpfsense-1cf76394eed899cdcd47cb9008ace6bed2353641.zip
pfsense-1cf76394eed899cdcd47cb9008ace6bed2353641.tar.gz
pfSense_get_interface_stats no longer gives the up/down status of the interface, so use pfSense_get_interface_addresses instead.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 19af755..ade937e 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1827,7 +1827,7 @@ EOD;
/* find which clones are up and bring them down */
$clones_up = array();
foreach ($clone_list as $clone_if) {
- $clone_status = pfSense_get_interface_stats($clone_if);
+ $clone_status = pfSense_get_interface_addresses($clone_if);
if ($clone_status['status'] == 'up') {
$clones_up[] = $clone_if;
mwexec("{$ifconfig} " . escapeshellarg($clone_if) . " down");
OpenPOWER on IntegriCloud