diff options
author | Phil Davis <phil.davis@inf.org> | 2014-04-20 22:01:22 -0700 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2014-04-20 22:01:22 -0700 |
commit | 9fca75746126641bce94c6be2ce854caa5ab6598 (patch) | |
tree | 6934be6293a073c84480a8e8d5f25ad2694ae088 /etc/inc | |
parent | 2f0401aff51314420c2da65f08465ccb4906c6ab (diff) | |
download | pfsense-9fca75746126641bce94c6be2ce854caa5ab6598.zip pfsense-9fca75746126641bce94c6be2ce854caa5ab6598.tar.gz |
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.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |