diff options
author | Seth Mos <seth.mos@dds.nl> | 2011-03-14 22:09:47 +0100 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2011-03-14 22:09:47 +0100 |
commit | 1778480dbe583323acbacd0805bbfd9cbf3ef5b0 (patch) | |
tree | 07a719bbc9b050c6475b25a0b656f401f883e094 /usr/local | |
parent | fb17f629ee27e837735aeb48b93ead69d2a64754 (diff) | |
download | pfsense-1778480dbe583323acbacd0805bbfd9cbf3ef5b0.zip pfsense-1778480dbe583323acbacd0805bbfd9cbf3ef5b0.tar.gz |
Show the proper Phase entry for the IPv6 tunnels
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/vpn_ipsec.php | 6 |
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\"> </td><td nowrap class=\"listr\"> </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']); ?> |