summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-20 15:06:33 -0200
committerRenato Botelho <renato@netgate.com>2016-01-20 15:16:49 -0200
commit62fb580814c67ecda8d41027c0cd8f44e4413bf9 (patch)
treedabe4d90034bf83e9d9ae796446931ccda886718
parent659fe1e8930f5082be25204c9d711e16c8615262 (diff)
downloadpfsense-62fb580814c67ecda8d41027c0cd8f44e4413bf9.zip
pfsense-62fb580814c67ecda8d41027c0cd8f44e4413bf9.tar.gz
Fix strongswan.conf indent level
-rw-r--r--src/etc/inc/vpn.inc44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/etc/inc/vpn.inc b/src/etc/inc/vpn.inc
index b07df83..3083e7f 100644
--- a/src/etc/inc/vpn.inc
+++ b/src/etc/inc/vpn.inc
@@ -469,7 +469,7 @@ function vpn_ipsec_configure($restart = false) {
$ipsecloglevels = vpn_logging_cfgtxt();
if (is_array($ipsecloglevels)) {
foreach ($ipsecloglevels as $loglevel) {
- $strongswanlog .= "\t\t" . $loglevel . "\n";
+ $strongswanlog .= "\t\t\t" . $loglevel . "\n";
}
}
$strongswan = <<<EOD
@@ -482,29 +482,29 @@ starter {
charon {
# number of worker threads in charon
-threads = 16
-ikesa_table_size = 32
-ikesa_table_segments = 4
-init_limit_half_open = 1000
-install_routes = no
-{$i_dont_care_about_security_and_use_aggressive_mode_psk}
-{$accept_unencrypted}
-cisco_unity = {$unity_enabled}
-{$ifacesuse}
-{$makebeforebreak}
-
-syslog {
- identifier = charon
- # log everything under daemon since it ends up in the same place regardless with our syslog.conf
- daemon {
- ike_name = yes
+ threads = 16
+ ikesa_table_size = 32
+ ikesa_table_segments = 4
+ init_limit_half_open = 1000
+ install_routes = no
+ {$i_dont_care_about_security_and_use_aggressive_mode_psk}
+ {$accept_unencrypted}
+ cisco_unity = {$unity_enabled}
+ {$ifacesuse}
+ {$makebeforebreak}
+
+ syslog {
+ identifier = charon
+ # log everything under daemon since it ends up in the same place regardless with our syslog.conf
+ daemon {
+ ike_name = yes
{$strongswanlog}
+ }
+ # disable logging under auth so logs aren't duplicated
+ auth {
+ default = -1
+ }
}
- # disable logging under auth so logs aren't duplicated
- auth {
- default = -1
- }
-}
plugins {
stroke {
OpenPOWER on IntegriCloud