diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-06-13 14:35:23 +0200 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-06-13 14:35:43 +0200 |
commit | d6084ab02fa82163342894e7385464976b64f7b6 (patch) | |
tree | 125c1c701d35f0aca1e791c47393e38bc5978ac3 /usr/local | |
parent | 60fc27e0aac6998d98b4cf47bd1142defae21791 (diff) | |
download | pfsense-d6084ab02fa82163342894e7385464976b64f7b6.zip pfsense-d6084ab02fa82163342894e7385464976b64f7b6.tar.gz |
Ok another round of this which unbreaks input error validation messages
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/vpn_ipsec_settings.php | 9 |
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 fec9316..b37e381 100644 --- a/usr/local/www/vpn_ipsec_settings.php +++ b/usr/local/www/vpn_ipsec_settings.php @@ -204,9 +204,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")); |