mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-03 15:56:00 +00:00
Get rid of call to setlogmask - it doesn't seem to be helpful.
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char ocopyright[] =
|
static char ocopyright[] =
|
||||||
"$Id: dhcpd.c,v 1.78 1999/10/28 13:09:33 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
|
"$Id: dhcpd.c,v 1.79 1999/11/23 19:10:07 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static char copyright[] =
|
static char copyright[] =
|
||||||
@@ -94,14 +94,6 @@ int main (argc, argv, envp)
|
|||||||
openlog ("dhcpd", LOG_NDELAY, DHCPD_LOG_FACILITY);
|
openlog ("dhcpd", LOG_NDELAY, DHCPD_LOG_FACILITY);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef DEBUG
|
|
||||||
#ifndef SYSLOG_4_2
|
|
||||||
#ifndef __CYGWIN32__ /* XXX */
|
|
||||||
setlogmask (LOG_UPTO (LOG_INFO));
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
for (i = 1; i < argc; i++) {
|
for (i = 1; i < argc; i++) {
|
||||||
if (!strcmp (argv [i], "-p")) {
|
if (!strcmp (argv [i], "-p")) {
|
||||||
if (++i == argc)
|
if (++i == argc)
|
||||||
|
Reference in New Issue
Block a user