From 9fca75746126641bce94c6be2ce854caa5ab6598 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Sun, 20 Apr 2014 22:01:22 -0700 Subject: Cut paste bug fix in Remote Syslog DHCP events This version for 2.1 branch. apinger is repeated here from the code above, but it should be dhcp. Forum https://forum.pfsense.org/index.php?topic=73734.0 Selecting to remote syslog "Gateway Monitor events" would also switch on "DHCP service events" unintentionally. --- etc/inc/system.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 48376a0..b857ea0 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -645,7 +645,7 @@ function system_syslogd_start() { $syslogconf .= "!dhcpd,dhcrelay,dhclient\n"; if (!isset($syslogcfg['disablelocallogging'])) $syslogconf .= "*.* {$log_directive}{$g['varlog_path']}/dhcpd.log\n"; - if (isset($syslogcfg['apinger'])) + if (isset($syslogcfg['dhcp'])) $syslogconf .= system_syslogd_get_remote_servers($syslogcfg, "*.*"); $syslogconf .= "!relayd\n"; -- cgit v1.1