summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-29 21:07:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-29 21:07:26 +0000
commit331aa57bd2911f420b9a9bf212bff0e12bcd44cd (patch)
treefdef5fcd23e2d8a8a36a62180bb9defe7e864c72
parent21932fc6b22da4a866862c8595e982dc80c84bcd (diff)
downloadpfsense-331aa57bd2911f420b9a9bf212bff0e12bcd44cd.zip
pfsense-331aa57bd2911f420b9a9bf212bff0e12bcd44cd.tar.gz
* Add description * Add local subnet * Add remote subnet
-rw-r--r--usr/local/www/diag_ipsec.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php
index 3961a75..9f1a185 100644
--- a/usr/local/www/diag_ipsec.php
+++ b/usr/local/www/diag_ipsec.php
@@ -96,13 +96,25 @@ if ($fd) {
<tr>
<td nowrap class="listhdrr">Source</td>
<td nowrap class="listhdrr">Destination</a></td>
+ <td nowrap class="listhdrr">Description</a></td>
<td nowrap class="listhdrr">Status</td>
</tr>
<?php
foreach ($config['ipsec']['tunnel'] as $ipsec): ?>
<tr>
- <td class="listlr"><?=htmlspecialchars(get_ipsec_tunnel_src($ipsec));?></td>
- <td class="listr"><?=htmlspecialchars($ipsec['remote-gateway']);?></td>
+ <td class="listlr"><?=htmlspecialchars(get_ipsec_tunnel_src($ipsec));?>
+ <br/>
+ <?php if ($ipsec['local-subnet']['network'])
+ echo strtoupper($ipsecent['local-subnet']['network']);
+ else
+ echo $ipsec['local-subnet']['address'];
+ ?>
+ </td>
+ <td class="listr"><?=htmlspecialchars($ipsec['remote-gateway']);?>
+ <br/>
+ <?=$ipsec['remote-subnet'];?>
+ </td>
+ <td class="listr"><?=htmlspecialchars($ipsec['descr']);?></td>
<td class="listr"><?php echo output_ipsec_tunnel_status($ipsec); ?></td>
</tr>
<?php endforeach; ?>
OpenPOWER on IntegriCloud