summaryrefslogtreecommitdiffstats
path: root/etc/inc/util.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-23 18:20:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-23 18:20:11 +0000
commit71c08f2561592221a5e2129192ec001d30ada009 (patch)
tree6b74af1914013f7ac4a7277a0ec003bac96b8d52 /etc/inc/util.inc
parent8d9305b6d52f76d08a990b8025fdc71e91e6e09e (diff)
downloadpfsense-71c08f2561592221a5e2129192ec001d30ada009.zip
pfsense-71c08f2561592221a5e2129192ec001d30ada009.tar.gz
* Fix get_interface_list()
* Backout Seth's changes. The bug was up the stack in get_interface_list()
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r--etc/inc/util.inc26
1 files changed, 13 insertions, 13 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index f936d24..7417695 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -269,19 +269,19 @@ function get_interface_list($mode = "active", $keyby = "physical", $vfaces = "")
/* get a list of virtual interface types */
if(!$vfaces) {
$vfaces = array(
- 'bridge',
- 'ppp',
- 'sl',
- 'gif',
- 'faith',
- 'lo',
- 'ng',
- 'vlan',
- 'pflog',
- 'pfsync',
- 'enc',
- 'tun',
- 'carp'
+ 'bridge.?*',
+ 'ppp.?*',
+ 'sl.?*',
+ 'gif.?*',
+ 'faith.?*',
+ 'lo.?*',
+ 'ng.?*',
+ 'vlan.?*',
+ 'pflog.?*',
+ 'pfsync.?*',
+ 'enc.?*',
+ 'tun.?*',
+ 'carp.?*'
);
}
switch($mode) {
OpenPOWER on IntegriCloud