summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_ipsec.php
diff options
context:
space:
mode:
authorBill Marquette <bill.marquette@gmail.com>2009-01-24 18:53:02 -0600
committerBill Marquette <bill.marquette@gmail.com>2009-01-24 18:53:02 -0600
commitedceabce0d40be10567c376ff479706d0fbdcdf6 (patch)
treece7191cf58d12a014d7c2c6b0136b3c0b97bdfcb /usr/local/www/diag_ipsec.php
parentd58d04c3ee0974a9540180acf838f9e0ff6627ed (diff)
downloadpfsense-edceabce0d40be10567c376ff479706d0fbdcdf6.zip
pfsense-edceabce0d40be10567c376ff479706d0fbdcdf6.tar.gz
Show all tunnels regardless of how many are actually up, we have a cool yellow status indicator showing tunnel status, let's show it instead of "no associations" message
Diffstat (limited to 'usr/local/www/diag_ipsec.php')
-rw-r--r--usr/local/www/diag_ipsec.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php
index 957f19c..a080a5b 100644
--- a/usr/local/www/diag_ipsec.php
+++ b/usr/local/www/diag_ipsec.php
@@ -75,7 +75,6 @@ $sad = ipsec_dump_sad();
<td>
<div id="mainarea">
<table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
- <?php if (count($sad)): ?>
<tr>
<td nowrap class="listhdrr">Local IP</td>
<td nowrap class="listhdrr">Remote IP</a></td>
@@ -117,15 +116,6 @@ $sad = ipsec_dump_sad();
}
}
?>
- <?php else: ?>
- <tr>
- <td>
- <p>
- <strong>No IPsec security associations.</strong>
- </p>
- </td>
- </tr>
- <?php endif; ?>
<tr>
<td colspan="4">
<p>
OpenPOWER on IntegriCloud