diff --git a/dhcpd.c b/dhcpd.c index 4fbee245..26ffa4d5 100644 --- a/dhcpd.c +++ b/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) diff --git a/server/dhcpd.c b/server/dhcpd.c index 4fbee245..26ffa4d5 100644 --- a/server/dhcpd.c +++ b/server/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)