summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_settings.php
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-06-11 23:57:56 +0200
committerErmal LUÇI <eri@pfsense.org>2015-06-11 23:57:56 +0200
commit71f29f4424060c68f22b383d6d80f2fd3d21f466 (patch)
tree64f83280e99e393fc498c04e0b2fc50a1e2dae26 /usr/local/www/vpn_ipsec_settings.php
parentc66a327b2bf10cb148cd8d7d933383f3c4005a89 (diff)
downloadpfsense-71f29f4424060c68f22b383d6d80f2fd3d21f466.zip
pfsense-71f29f4424060c68f22b383d6d80f2fd3d21f466.tar.gz
Ticket #4655 Do not behave against the logic of checkbox and description.
Diffstat (limited to 'usr/local/www/vpn_ipsec_settings.php')
-rw-r--r--usr/local/www/vpn_ipsec_settings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php
index 024fe2c..5b172bc 100644
--- a/usr/local/www/vpn_ipsec_settings.php
+++ b/usr/local/www/vpn_ipsec_settings.php
@@ -171,9 +171,9 @@ if ($_POST) {
}
if ($_POST['noshuntlaninterfaces'] == "yes") {
- $config['ipsec']['noshuntlaninterfaces'] = true;
- } elseif (isset($config['ipsec']['noshuntlaninterfaces'])) {
unset($config['ipsec']['noshuntlaninterfaces']);
+ } else {
+ $config['ipsec']['noshuntlaninterfaces'] = true;
}
if ($_POST['acceptunencryptedmainmode'] == "yes") {
OpenPOWER on IntegriCloud