summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2010-06-16 20:56:35 +0200
committersmos <seth.mos@dds.nl>2010-06-17 08:07:36 +0200
commit88e9bceb8af37e8ea808f72327f5c78e9e746906 (patch)
treeeb157efe8fc3c3e116d686e343c22c84fe553bc8 /usr/local
parentffcf81bbb7b522eb6adc2aaccdf78b341cb3ea90 (diff)
downloadpfsense-88e9bceb8af37e8ea808f72327f5c78e9e746906.zip
pfsense-88e9bceb8af37e8ea808f72327f5c78e9e746906.tar.gz
Fix wireless status page to look at the right wireless interface name.
Ticket #649
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/status_wireless.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php
index 37ef825..751810a 100755
--- a/usr/local/www/status_wireless.php
+++ b/usr/local/www/status_wireless.php
@@ -50,7 +50,7 @@ if(empty($if)) {
/* Find the first interface
that is wireless */
foreach($ciflist as $interface => $ifdescr) {
- if(is_interface_wireless($interface))
+ if(is_interface_wireless(get_real_interface($interface)))
$if = $interface;
}
}
@@ -68,7 +68,7 @@ include("fbegin.inc");
<?php
$tab_array = array();
foreach($ciflist as $interface => $ifdescr) {
- if (is_interface_wireless($interface)) {
+ if (is_interface_wireless(get_real_interface($interface))) {
$enabled = false;
if($if == $interface)
$enabled = true;
OpenPOWER on IntegriCloud