diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-05-05 21:31:47 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-05-05 21:31:47 +0000 |
commit | 59f6095f873e815c8592e44b03eeee04e7f21292 (patch) | |
tree | dcb79a08ebb1132920cffe7bbb28735e2378a2db | |
parent | 66d13806ea92d2e588b9ddee894a5423c0179948 (diff) | |
download | pfsense-59f6095f873e815c8592e44b03eeee04e7f21292.zip pfsense-59f6095f873e815c8592e44b03eeee04e7f21292.tar.gz |
Wireless Status page gets mode.
Ticket #957
-rwxr-xr-x | usr/local/www/status_wireless.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php index acf4757..3d708f5 100755 --- a/usr/local/www/status_wireless.php +++ b/usr/local/www/status_wireless.php @@ -66,12 +66,12 @@ $tab_array = array(); $mode = ""; foreach($config['interfaces'] as $interface) { if($interface['wireless'] <> "") { - if($if == $interface['if']) + if($if == $interface['if']) { $enabled = true; - else + $mode = $interface['wireless']['mode']; + } else $enabled = false; $friendly = convert_real_interface_to_friendly_interface_name($interface['if']); - $mode = $interface['wireless']['mode']; if($interface['descr'] <> "") $friendly = $interface['descr']; $tab_array[] = array("Status ($friendly)", $enabled, "status_wireless.php?if={$interface['if']}"); |