summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_ipsec.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-09-02 14:58:15 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-09-02 14:58:15 -0300
commit060c3ac00b71131c08ad1a88033b14546bb6b53b (patch)
treee7acee7d22fef2b09e02ec5183a7d874e16f4065 /usr/local/www/diag_ipsec.php
parent55d6f48bc8f5b24f0756e52a121b26c2a57fe186 (diff)
downloadpfsense-060c3ac00b71131c08ad1a88033b14546bb6b53b.zip
pfsense-060c3ac00b71131c08ad1a88033b14546bb6b53b.tar.gz
Fix subnet display for IPsec status. Ticket #3826
Diffstat (limited to 'usr/local/www/diag_ipsec.php')
-rw-r--r--usr/local/www/diag_ipsec.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php
index 8667fb9..0bfb050 100644
--- a/usr/local/www/diag_ipsec.php
+++ b/usr/local/www/diag_ipsec.php
@@ -229,7 +229,7 @@ $status = ipsec_smp_dump_status();
<td class="listlr nowrap">
<?php if (is_array($childsa['local']) && is_array($childsa['local']['networks']) && is_array($childsa['local']['networks']['network'])) {
foreach ($childsa['local']['networks']['network'] as $lnets) {
- echo htmlspecialchars($lnets) . "<br />";
+ echo htmlspecialchars(ipsec_fixup_network($lnets)) . "<br />";
}
} else
echo "Unknown";
@@ -248,7 +248,7 @@ $status = ipsec_smp_dump_status();
<td class="listr nowrap">
<?php if (is_array($childsa['remote']) && is_array($childsa['remote']['networks']) && is_array($childsa['remote']['networks']['network'])) {
foreach ($childsa['remote']['networks']['network'] as $rnets) {
- echo htmlspecialchars($rnets) . "<br />";
+ echo htmlspecialchars(ipsec_fixup_network($rnets)) . "<br />";
}
} else
echo "Unknown";
OpenPOWER on IntegriCloud