summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-25 16:40:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-25 16:40:30 +0000
commit8a3c130b6a8828971f8991e4bac9165453f2d494 (patch)
tree34a0b53386458fb3dbecab5dd12ffe1381ed1987 /usr
parentf52b7f68578ed62a97d869018e666c06e1884b81 (diff)
downloadpfsense-8a3c130b6a8828971f8991e4bac9165453f2d494.zip
pfsense-8a3c130b6a8828971f8991e4bac9165453f2d494.tar.gz
Do not show bogus records
Ticket #253
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_wireless.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/status_wireless.php b/usr/local/www/status_wireless.php
index 82ff93c..f06bb66 100755
--- a/usr/local/www/status_wireless.php
+++ b/usr/local/www/status_wireless.php
@@ -138,7 +138,9 @@ include("head.inc");
<td width="15%" class="listhdr">Quality</td>
</tr>
<?php foreach ($ifinfo['sscache'] as $ss): ?>
- <tr>
+ <?php if($ss['ipaddr'] <> "0.0.0.0"
+ and $ss['ipaddr'] <> ""): ?>
+ <tr>
<td class="listlr">
<?=htmlspecialchars($ss['mac']);?>
</td>
@@ -155,6 +157,7 @@ include("head.inc");
<?=htmlspecialchars($ss['qual']);?>
</td>
</tr>
+ <?php endif; ?>
<?php endforeach; ?>
</table></td>
</tr><?php if ($ifinfo['aslist']): ?>
OpenPOWER on IntegriCloud