summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-01-07 22:31:02 +0100
committerErmal LUÇI <eri@pfsense.org>2015-01-07 22:31:02 +0100
commit7a9597808c3c41591b2c3776d18ff7ab3d3144ca (patch)
treec0cc16533e9558f4fb46867307b22e44a8331658 /etc
parent845f9f78199dcf0ed21d2cf8ca3f68112569503e (diff)
downloadpfsense-7a9597808c3c41591b2c3776d18ff7ab3d3144ca.zip
pfsense-7a9597808c3c41591b2c3776d18ff7ab3d3144ca.tar.gz
Correct the sense of the check by default unity is enabled
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 1bbf221..1dbf12d 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -287,9 +287,9 @@ function vpn_ipsec_configure($ipchg = false)
$i_dont_care_about_security_and_use_aggressive_mode_psk = "i_dont_care_about_security_and_use_aggressive_mode_psk=yes";
}
- $unity_enabled = 'no';
+ $unity_enabled = 'yes';
if (isset($config['ipsec']['unityplugin']))
- $unity_enabled = 'yes';
+ $unity_enabled = 'no';
$strongswan = <<<EOD
OpenPOWER on IntegriCloud