summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-03-08 20:01:51 +0000
committerErmal <eri@pfsense.org>2012-03-08 20:01:51 +0000
commitf92b0dc9e2de336b86e3fbef7dc8e1c1b471bba2 (patch)
tree5a61c131cd795116b53476cb09b32bf48a701165 /etc/inc/interfaces.inc
parent44e1e4ae7091cd1274639107a2b3aa85a191c223 (diff)
downloadpfsense-f92b0dc9e2de336b86e3fbef7dc8e1c1b471bba2.zip
pfsense-f92b0dc9e2de336b86e3fbef7dc8e1c1b471bba2.tar.gz
Use the latest functions from pfSense module for getting interface list
Diffstat (limited to 'etc/inc/interfaces.inc')
-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 72baa3a..54155de 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -62,7 +62,7 @@ function get_interface_arr($flush = false) {
/* If the cache doesn't exist, build it */
if (!isset($interface_arr_cache) or $flush)
- $interface_arr_cache = explode(" ", trim(`/sbin/ifconfig -l`));
+ $interface_arr_cache = pfSense_interface_listget();
return $interface_arr_cache;
}
OpenPOWER on IntegriCloud