summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_settings.php
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-06-13 14:35:23 +0200
committerErmal LUÇI <eri@pfsense.org>2015-06-13 14:35:23 +0200
commit67d9685607eef7c679fda929ad4855be1b2f9dec (patch)
treebbc8d8b804093fa281c790e98970701d1913d6a3 /usr/local/www/vpn_ipsec_settings.php
parentf753103286602a66dbe77fdcd0948493ee1b331b (diff)
downloadpfsense-67d9685607eef7c679fda929ad4855be1b2f9dec.zip
pfsense-67d9685607eef7c679fda929ad4855be1b2f9dec.tar.gz
Ok another round of this which unbreaks input error validation messages
Diffstat (limited to 'usr/local/www/vpn_ipsec_settings.php')
-rw-r--r--usr/local/www/vpn_ipsec_settings.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php
index 62f3c2f..456eb7b 100644
--- a/usr/local/www/vpn_ipsec_settings.php
+++ b/usr/local/www/vpn_ipsec_settings.php
@@ -212,9 +212,12 @@ if ($_POST) {
vpn_ipsec_configure($needsrestart);
vpn_ipsec_configure_loglevels();
- }
- header("Location: vpn_ipsec_settings.php");
- return;
+
+ header("Location: vpn_ipsec_settings.php");
+ return;
+ } else
+ /* NOTE: Do not be smart here check #4655 */
+ $pconfig['noshuntlaninterfaces'] = isset($config['ipsec']['noshuntlaninterfaces']);
}
$pgtitle = array(gettext("VPN"), gettext("IPsec"), gettext("Settings"));
OpenPOWER on IntegriCloud