summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index e92f308..8344a20 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -290,6 +290,8 @@ charon {
# XXX: There is not much choice here really users win their security!
i_dont_care_about_security_and_use_aggressive_mode_psk=yes
+ cisco_unity = yes
+
# And two loggers using syslog. The subsections define the facility to log
# to, currently one of: daemon, auth.
syslog {
@@ -308,9 +310,6 @@ charon {
EOD;
- if (is_array($a_client) && isset($a_client['enable']) && isset($a_client['net_list']))
- $strongswan .= "\tcisco_unity = yes\n";
-
$strongswan .= "\tplugins {\n";
if (is_array($a_client) && isset($a_client['enable'])) {
OpenPOWER on IntegriCloud