summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2011-03-14 22:09:47 +0100
committerSeth Mos <seth.mos@dds.nl>2011-03-14 22:09:47 +0100
commit1778480dbe583323acbacd0805bbfd9cbf3ef5b0 (patch)
tree07a719bbc9b050c6475b25a0b656f401f883e094 /usr/local/www/vpn_ipsec.php
parentfb17f629ee27e837735aeb48b93ead69d2a64754 (diff)
downloadpfsense-1778480dbe583323acbacd0805bbfd9cbf3ef5b0.zip
pfsense-1778480dbe583323acbacd0805bbfd9cbf3ef5b0.tar.gz
Show the proper Phase entry for the IPv6 tunnels
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rwxr-xr-xusr/local/www/vpn_ipsec.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index 40879f6..16231ab 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -281,7 +281,7 @@ include("head.inc");
<table class="tabcont" width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" id="tdph2-<?=$i?>" style="display:none">
<tr>
<td class="listhdrr"><?=gettext("Mode"); ?></td>
- <?php if($ph2ent['mode'] == "tunnel"): ?>
+ <?php if(($ph2ent['mode'] == "tunnel") or ($ph2ent['mode'] == "tunnel6")): ?>
<td class="listhdrr"><?=gettext("Local Subnet"); ?></td>
<td class="listhdrr"><?=gettext("Remote Subnet"); ?></td>
<?php endif; ?>
@@ -317,11 +317,11 @@ include("head.inc");
<?=$spane;?>
</td>
<?php
- if($ph2ent['mode'] <> "tunnel") {
+ if(($ph2ent['mode'] <> "tunnel") and ($ph2ent['mode'] <> "tunnel6")) {
echo "<td nowrap class=\"listr\">&nbsp;</td><td nowrap class=\"listr\">&nbsp;</td>";
}
?>
- <?php if($ph2ent['mode'] == "tunnel"): ?>
+ <?php if(($ph2ent['mode'] == "tunnel") or ($ph2ent['mode'] == "tunnel6")): ?>
<td nowrap class="listr">
<?=$spans;?>
<?=ipsec_idinfo_to_text($ph2ent['localid']); ?>
OpenPOWER on IntegriCloud