From dfd48d29349688d25b102b928ccbd509aa516f9a Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 12 Mar 2019 14:38:05 +0100 Subject: [PATCH] ipsec, mixed-up includes see https://github.com/opnsense/core/pull/3311 --- src/etc/inc/plugins.inc.d/ipsec.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/inc/plugins.inc.d/ipsec.inc b/src/etc/inc/plugins.inc.d/ipsec.inc index 111752272..091705509 100644 --- a/src/etc/inc/plugins.inc.d/ipsec.inc +++ b/src/etc/inc/plugins.inc.d/ipsec.inc @@ -1003,7 +1003,7 @@ function ipsec_configure_do($verbose = false, $interface = '') } $strongswan = generate_strongswan_conf($strongswanTree); - $strongswan .= "\ninclude ipsec.opnsense.d/*.conf\n"; + $strongswan .= "\ninclude strongswan.opnsense.d/*.conf\n"; @file_put_contents("/usr/local/etc/strongswan.conf", $strongswan); unset($strongswan); @@ -1552,7 +1552,7 @@ EOD; } } } - $ipsecconf .= "\ninclude strongswan.opnsense.d/*.conf\n"; + $ipsecconf .= "\ninclude ipsec.opnsense.d/*.conf\n"; // dump file, replace tabs for 2 spaces @file_put_contents("/usr/local/etc/ipsec.conf", str_replace("\t", ' ', $ipsecconf)); unset($ipsecconf);