summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-01-29 02:02:35 +0000
committerErmal Luçi <eri@pfsense.org>2010-01-29 02:02:35 +0000
commitcefc0016a9511d62b0b9e64fc53a4966a3c0d3fe (patch)
tree6011b870a35dd509ab779299173fdaf26c1d6a52 /etc/inc
parent5630c91c21c0178ef97e7b382666dc2d6933cd31 (diff)
downloadpfsense-cefc0016a9511d62b0b9e64fc53a4966a3c0d3fe.zip
pfsense-cefc0016a9511d62b0b9e64fc53a4966a3c0d3fe.tar.gz
Ticket #315. Do not show the cloned wireless devices for assignment.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/util.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index d7e1cfa..10b9366 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -539,7 +539,7 @@ function get_interface_list($mode = "active", $keyby = "physical", $vfaces = "")
$ifname = rtrim(trim($alink[0]), '*');
/* trim out all numbers before checking for vfaces */
if (!in_array(array_shift(preg_split('/\d/', $ifname)), $vfaces) &&
- !stristr($ifname, "_vlan")) {
+ !stristr($ifname, "_vlan") && !stristr($ifname, "_wlan")) {
$toput = array(
"mac" => trim($alink[1]),
"up" => in_array($ifname, $upints)
OpenPOWER on IntegriCloud