summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-02-28 12:48:53 -0500
committerjim-p <jimp@pfsense.org>2012-02-28 12:48:53 -0500
commitce3da5d20f2e9259d0c85c5678695d6c0e49cd52 (patch)
tree11352e7ec94064b405204ee55b5f9b56c6b03791 /usr/local
parentd17263ec6ac987c164184618e033473cd408307a (diff)
downloadpfsense-ce3da5d20f2e9259d0c85c5678695d6c0e49cd52.zip
pfsense-ce3da5d20f2e9259d0c85c5678695d6c0e49cd52.tar.gz
Show lagg protocol and member interfaces on Status > Interfaces. Implements #2242
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/status_interfaces.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/usr/local/www/status_interfaces.php b/usr/local/www/status_interfaces.php
index db88536..7ae7525 100755
--- a/usr/local/www/status_interfaces.php
+++ b/usr/local/www/status_interfaces.php
@@ -229,6 +229,22 @@ include("head.inc");
<?=htmlspecialchars($ifinfo['media']);?>
</td>
</tr>
+ <?php endif; if ($ifinfo['laggproto']): ?>
+ <tr>
+ <td width="22%" class="vncellt"><?=gettext("LAGG Protocol");?></td>
+ <td width="78%" class="listr">
+ <?=htmlspecialchars($ifinfo['laggproto']);?>
+ </td>
+ </tr>
+ <?php endif; if (is_array($ifinfo['laggport'])): ?>
+ <tr>
+ <td width="22%" class="vncellt"><?=gettext("LAGG Ports");?></td>
+ <td width="78%" class="listr">
+ <?php foreach ($ifinfo['laggport'] as $laggport) { ?>
+ <?php echo htmlspecialchars($laggport); ?><br/>
+ <?php } ?>
+ </td>
+ </tr>
<?php endif; ?><?php if ($ifinfo['channel']): ?>
<tr>
<td width="22%" class="vncellt"><?=gettext("Channel");?></td>
OpenPOWER on IntegriCloud