Project

General

Profile

« Previous | Next » 

Revision ac1bd04f

Added by Scott Ullrich over 17 years ago

Oops, do not list stations twice.

View differences:

usr/local/www/status_wireless.php
98 98
	print "<td><b><font color='#ffffff'>CAPS</td>";
99 99
	print "</tr>\n\n";
100 100

  
101
	$states=split("\n",`/sbin/ifconfig {$if} list scan | grep -v "CHAN RATE"; /sbin/ifconfig {$if} list sta | grep -v "CHAN RATE"`);
101
	$states=split("\n",`/sbin/ifconfig {$if} list scan | grep -v "CHAN RATE"`);
102 102

  
103 103
	$counter=0;
104 104
	foreach($states as $state) {

Also available in: Unified diff