summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/diag_ipsec.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php
index e1fbfdf..bbaf540 100644
--- a/usr/local/www/diag_ipsec.php
+++ b/usr/local/www/diag_ipsec.php
@@ -172,12 +172,11 @@ $status = pfSense_ipsec_list_sa();
<td class="listr">
<?php
if (!empty($ikesa['local-host'])) {
- echo htmlspecialchars($ikesa['local-host']) . '<br/>' .
- gettext('Port: ') . htmlspecialchars($ikesa['local-port']);
+ echo htmlspecialchars($ikesa['local-host']);
} else {
echo gettext("Unknown");
}
- if ($ikesa['local-port'] == '4500') {
+ if (isset($ikesa['local-nat-t'])) {
echo " NAT-T";
}
@@ -211,12 +210,11 @@ $status = pfSense_ipsec_list_sa();
<td class="listr">
<?php
if (!empty($ikesa['remote-host'])) {
- echo htmlspecialchars($ikesa['remote-host']) . '<br/>' .
- gettext('Port: ') . htmlspecialchars($ikesa['remote-port']);
+ echo htmlspecialchars($ikesa['remote-host']);
} else {
echo gettext("Unknown");
}
- if ($ikesa['remote-port'] == '4500') {
+ if (isset($ikesa['remote-nat-t'])) {
echo " NAT-T";
}
?>
OpenPOWER on IntegriCloud