diff options
author | Ermal <eri@pfsense.org> | 2014-02-12 15:48:40 +0100 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-25 11:10:01 +0100 |
commit | 7335fa538070b28498b34ca278e8a314a96a182a (patch) | |
tree | 2bce64068da47bc259dd8dd6bbb1795057104280 /etc/inc/system.inc | |
parent | 042436e8f2e1ffee2411894fbb61ad961d13bf4f (diff) | |
download | pfsense-7335fa538070b28498b34ca278e8a314a96a182a.zip pfsense-7335fa538070b28498b34ca278e8a314a96a182a.tar.gz |
* Correct logging to syslog and proper file for ipsec from strongswan
* Use proper commands to reload strongswan rather than just the daemon
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index f92f499..421abad 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -640,7 +640,7 @@ function system_syslogd_start() { } if (isset($syslogcfg)) { - $separatelogfacilities = array('ntp','ntpd','ntpdate','racoon','openvpn','pptps','poes','l2tps','relayd','hostapd','dnsmasq','filterdns','unbound','dhcpd','dhcrelay','dhclient','apinger','radvd','routed','olsrd','zebra','ospfd','bgpd','miniupnpd'); + $separatelogfacilities = array('ntp','ntpd','ntpdate','charon','openvpn','pptps','poes','l2tps','relayd','hostapd','dnsmasq','filterdns','unbound','dhcpd','dhcrelay','dhclient','apinger','radvd','routed','olsrd','zebra','ospfd','bgpd','miniupnpd'); $syslogconf = ""; if($config['installedpackages']['package']) { foreach($config['installedpackages']['package'] as $package) { @@ -676,7 +676,7 @@ function system_syslogd_start() { if (!isset($syslogcfg['disablelocallogging'])) $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/l2tps.log\n"; - $syslogconf .= "!racoon\n"; + $syslogconf .= "!charon\n"; if (!isset($syslogcfg['disablelocallogging'])) $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/ipsec.log\n"; if (isset($syslogcfg['vpn'])) |