diff options
author | Ermal <eri@pfsense.org> | 2012-03-08 20:01:51 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-03-08 20:01:51 +0000 |
commit | f92b0dc9e2de336b86e3fbef7dc8e1c1b471bba2 (patch) | |
tree | 5a61c131cd795116b53476cb09b32bf48a701165 /etc/inc/interfaces.inc | |
parent | 44e1e4ae7091cd1274639107a2b3aa85a191c223 (diff) | |
download | pfsense-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.inc | 2 |
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; } |