diff options
author | Bill Marquette <bill.marquette@gmail.com> | 2009-01-24 18:53:02 -0600 |
---|---|---|
committer | Bill Marquette <bill.marquette@gmail.com> | 2009-01-24 18:53:02 -0600 |
commit | edceabce0d40be10567c376ff479706d0fbdcdf6 (patch) | |
tree | ce7191cf58d12a014d7c2c6b0136b3c0b97bdfcb | |
parent | d58d04c3ee0974a9540180acf838f9e0ff6627ed (diff) | |
download | pfsense-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
-rw-r--r-- | usr/local/www/diag_ipsec.php | 10 |
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> |