mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Don't use setlogmask() on 4.2BSD syslog machines
This commit is contained in:
parent
d01578b720
commit
f57589dba8
2
dhcpd.c
2
dhcpd.c
@ -94,7 +94,9 @@ int main (argc, argv, envp)
|
||||
#endif /* !NO_PUTENV */
|
||||
|
||||
#ifndef DEBUG
|
||||
#ifndef SYSLOG_4_2
|
||||
setlogmask (LOG_UPTO (LOG_INFO));
|
||||
#endif
|
||||
|
||||
/* Become a daemon... */
|
||||
if ((pid = fork ()) < 0)
|
||||
|
@ -94,7 +94,9 @@ int main (argc, argv, envp)
|
||||
#endif /* !NO_PUTENV */
|
||||
|
||||
#ifndef DEBUG
|
||||
#ifndef SYSLOG_4_2
|
||||
setlogmask (LOG_UPTO (LOG_INFO));
|
||||
#endif
|
||||
|
||||
/* Become a daemon... */
|
||||
if ((pid = fork ()) < 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user