diff options
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/status_wireless.php | 4 |
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; |