]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't log to stderr if -q flag is specified.
authorTed Lemon <source@isc.org>
Wed, 27 Oct 1999 20:44:34 +0000 (20:44 +0000)
committerTed Lemon <source@isc.org>
Wed, 27 Oct 1999 20:44:34 +0000 (20:44 +0000)
client/dhclient.c
relay/dhcrelay.c
server/dhcpd.c

index d904e7533461dbbb7d32527e0109671b8417a070..3e2a6f4d5eea29ce402f33669d5c36390b70a009 100644 (file)
@@ -56,7 +56,7 @@
 
 #ifndef lint
 static char ocopyright[] =
-"$Id: dhclient.c,v 1.44.2.39 1999/06/22 13:36:46 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dhclient.c,v 1.44.2.40 1999/10/27 20:43:29 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -176,7 +176,8 @@ int main (argc, argv, envp)
                note (contrib);
                note (url);
                note ("");
-       }
+       } else
+               log_perror = 0;
 
        /* Default to the DHCP/BOOTP port. */
        if (!local_port) {
index 1d4d24d13653001fa4d502f1f9e833daca410c7e..b9ca001c2ddf2c0b1963858e75e550da38b2afa0 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char ocopyright [] =
-"$Id: dhcrelay.c,v 1.9.2.32 1999/06/22 13:38:39 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.9.2.33 1999/10/27 20:44:34 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -177,7 +177,8 @@ int main (argc, argv, envp)
                note (contrib);
                note (url);
                note ("");
-       }
+       } else
+               log_perror = 0;
 
        /* Default to the DHCP/BOOTP port. */
        if (!local_port) {
index 2dedfc42ac48614ffe0bc8b7a5eddd26b487de55..0f75663c9d88883e31cc3ec16a19a87a57755973 100644 (file)
@@ -42,7 +42,7 @@
 
 #ifndef lint
 static char ocopyright[] =
-"$Id: dhcpd.c,v 1.45.2.30 1999/06/22 13:43:18 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
+"$Id: dhcpd.c,v 1.45.2.31 1999/10/27 20:43:55 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
 #endif
 
 static char copyright[] =
@@ -186,7 +186,8 @@ int main (argc, argv, envp)
                note (contrib);
                note (url);
                note ("");
-       }
+       } else
+               log_perror = 0;
 
        /* Default to the DHCP/BOOTP port. */
        if (!local_port)