summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2007-04-26 20:33:55 +0000
committerSeth Mos <seth.mos@xs4all.nl>2007-04-26 20:33:55 +0000
commitc3da90728bdfcf54b5270aa8a288ec4c1f7d1cd3 (patch)
tree13e7c53a0be4d99b9dadb7a2a9de6117cd302296
parentb520ec9a4aaa427f52ebc4bdcf63ec9e43bccf89 (diff)
downloadpfsense-c3da90728bdfcf54b5270aa8a288ec4c1f7d1cd3.zip
pfsense-c3da90728bdfcf54b5270aa8a288ec4c1f7d1cd3.tar.gz
Process gateway pools only.
MFC: Probably
-rwxr-xr-xusr/local/www/status_slbd_pool.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/local/www/status_slbd_pool.php b/usr/local/www/status_slbd_pool.php
index 7dcb52d..2025614 100755
--- a/usr/local/www/status_slbd_pool.php
+++ b/usr/local/www/status_slbd_pool.php
@@ -64,7 +64,9 @@ include("head.inc");
<td width="30%" class="listhdrr">Status</td>
<td width="30%" class="listhdr">Description</td>
</tr>
- <?php $i = 0; foreach ($a_pool as $vipent): ?>
+ <?php $i = 0; foreach ($a_pool as $vipent):
+ if ($vipent['type'] == "gateway") {
+ ?>
<tr>
<td class="listlr">
<?=$vipent['name'];?>
@@ -132,7 +134,11 @@ include("head.inc");
<font color="#FFFFFF"><?=$vipent['desc'];?></font>
</td>
</tr>
- <?php $i++; endforeach; ?>
+ <?php
+ }
+ $i++;
+ endforeach;
+ ?>
</table>
</div>
</table>
OpenPOWER on IntegriCloud