summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_settings.php
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-11-24 22:07:38 +0100
committerErmal LUÇI <eri@pfsense.org>2014-11-24 22:07:38 +0100
commit2f851abff998778d6e8a120a708fee67368edb45 (patch)
tree91f156d16b3fd4fe7b6fc94564ce6b649b2e34b3 /usr/local/www/vpn_ipsec_settings.php
parentf07008f559059d5f3da9bc702d19a9c8aa7c18f7 (diff)
downloadpfsense-2f851abff998778d6e8a120a708fee67368edb45.zip
pfsense-2f851abff998778d6e8a120a708fee67368edb45.tar.gz
Fixes #4039 remove the toggle from IPSec settings since its not anymore useful.
Diffstat (limited to 'usr/local/www/vpn_ipsec_settings.php')
-rw-r--r--usr/local/www/vpn_ipsec_settings.php19
1 files changed, 0 insertions, 19 deletions
diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php
index 0e05089..216825d 100644
--- a/usr/local/www/vpn_ipsec_settings.php
+++ b/usr/local/www/vpn_ipsec_settings.php
@@ -41,7 +41,6 @@ require_once("shaper.inc");
require_once("ipsec.inc");
require_once("vpn.inc");
-$pconfig['noinstalllanspd'] = $config['system']['noinstalllanspd'];
$pconfig['preferoldsa_enable'] = isset($config['ipsec']['preferoldsa']);
foreach ($ipsec_loglevels as $lkey => $ldescr) {
if (!empty($config['ipsec']["ipsec_{$lkey}"]))
@@ -59,14 +58,6 @@ if ($_POST) {
if (!$input_errors) {
- if($_POST['noinstalllanspd'] == "yes") {
- if (!isset($pconfig['noinstalllanspd']))
- $config['system']['noinstalllanspd'] = true;
- } else {
- if (isset($config['system']['noinstalllanspd']))
- unset($config['system']['noinstalllanspd']);
- }
-
if($_POST['preferoldsa_enable'] == "yes")
$config['ipsec']['preferoldsa'] = true;
elseif (isset($config['ipsec']['preferoldsa']))
@@ -170,16 +161,6 @@ function maxmss_checked(obj) {
<td colspan="2" valign="top" class="listtopic"><?=gettext("IPsec Advanced Settings"); ?></td>
</tr>
<tr>
- <td width="22%" valign="top" class="vncell"><?=gettext("LAN security associations"); ?></td>
- <td width="78%" class="vtable">
- <input name="noinstalllanspd" type="checkbox" id="noinstalllanspd" value="yes" <?php if ($pconfig['noinstalllanspd']) echo "checked=\"checked\""; ?> />
- <strong><?=gettext("Do not install LAN SPD"); ?></strong>
- <br />
- <?=gettext("By default, if IPsec is enabled negating SPD are inserted to provide protection. " .
- "This behaviour can be changed by enabling this setting which will prevent installing these SPDs."); ?>
- </td>
- </tr>
- <tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Security Associations"); ?></td>
<td width="78%" class="vtable">
<input name="preferoldsa_enable" type="checkbox" id="preferoldsa_enable" value="yes" <?php if ($pconfig['preferoldsa_enable']) echo "checked=\"checked\""; ?> />
OpenPOWER on IntegriCloud