diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-05-25 12:52:59 -0600 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-05-25 12:52:59 -0600 |
commit | 1cf76394eed899cdcd47cb9008ace6bed2353641 (patch) | |
tree | 87a5c9daff3b437ad3c1125fc51aa620d97c7947 /etc | |
parent | b99544e86cb9e67df600c97d41d2b7c702454ad9 (diff) | |
download | pfsense-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.inc | 2 |
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"); |