summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-11-04 21:07:26 +0100
committerErmal <eri@pfsense.org>2014-11-04 21:07:26 +0100
commit86ef7a0a46295260e0716d55ed2d2d01e9cc835c (patch)
treeef0583ede0a61d3f694da99f4685194bb76f01d7 /usr/local
parent756d867a891a38c58eaed23eb0ecc11a9cae6f45 (diff)
downloadpfsense-86ef7a0a46295260e0716d55ed2d2d01e9cc835c.zip
pfsense-86ef7a0a46295260e0716d55ed2d2d01e9cc835c.tar.gz
Remove Force options since it has not meaning for now.
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/vpn_ipsec_phase1.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php
index 3edb8ad..d04a195 100644
--- a/usr/local/www/vpn_ipsec_phase1.php
+++ b/usr/local/www/vpn_ipsec_phase1.php
@@ -131,7 +131,7 @@ if (isset($p1index) && $a_phase1[$p1index]) {
$pconfig['halgo'] = "sha1";
$pconfig['dhgroup'] = "2";
$pconfig['lifetime'] = "28800";
- $pconfig['nat_traversal'] = "on";
+ $pconfig['nat_traversal'] = 'on';
$pconfig['dpd_enable'] = true;
$pconfig['iketype'] = "ikev1";
@@ -866,9 +866,8 @@ function dpdchkbox_change() {
<td width="22%" valign="top" class="vncell"><?=gettext("NAT Traversal"); ?></td>
<td width="78%" class="vtable">
<select name="nat_traversal" class="formselect">
- <option value="off" <?php if ($pconfig['nat_traversal'] == "off") echo "selected=\"selected\""; ?>><?=gettext("Disable"); ?></option>
- <option value="on" <?php if ($pconfig['nat_traversal'] == "on") echo "selected=\"selected\""; ?>><?=gettext("Enable"); ?></option>
- <option value="force" <?php if ($pconfig['nat_traversal'] == "force") echo "selected=\"selected\""; ?>><?=gettext("Force"); ?></option>
+ <option value="off" <?php if ($pconfig['nat_traversal'] == 'off') echo "selected=\"selected\""; ?>><?=gettext("Disable"); ?></option>
+ <option value="on" <?php if ($pconfig['nat_traversal'] != 'off') echo "selected=\"selected\""; ?>><?=gettext("Enable"); ?></option>
</select>
<br />
<span class="vexpl">
OpenPOWER on IntegriCloud