]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Don't log to stderr if -q flag is given.
authorTed Lemon <source@isc.org>
Thu, 28 Oct 1999 13:09:35 +0000 (13:09 +0000)
committerTed Lemon <source@isc.org>
Thu, 28 Oct 1999 13:09:35 +0000 (13:09 +0000)
relay/dhcrelay.c
server/dhcpd.c

index 126412bf63f2ed5366265652034e9db44151009b..80d9dd0d5816aea5a6ac9ab2f1489d149477d0f2 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char ocopyright[] =
-"$Id: dhcrelay.c,v 1.35 1999/10/07 06:36:28 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.36 1999/10/28 13:09:35 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium.  All rights reserved.\n";
 #endif /* not lint */
 
 #include "dhcpd.h"
@@ -200,7 +200,8 @@ int main (argc, argv, envp)
                log_info (arr);
                log_info (contrib);
                log_info (url);
-       }
+       } else
+               quiet = 0;
 
        /* Default to the DHCP/BOOTP port. */
        if (!local_port) {
index f4a2def5a0a626b04b646f5b3f7bedba58814d08..9d36892a518e142e1e2a15561c0ab3ee27344f0d 100644 (file)
@@ -22,7 +22,7 @@
 
 #ifndef lint
 static char ocopyright[] =
-"$Id: dhcpd.c,v 1.77 1999/10/19 15:39:23 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
+"$Id: dhcpd.c,v 1.78 1999/10/28 13:09:33 mellon Exp $ Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.";
 #endif
 
   static char copyright[] =
@@ -183,7 +183,8 @@ int main (argc, argv, envp)
                log_info (arr);
                log_info (contrib);
                log_info (url);
-       }
+       } else
+               quiet = 0;
 
        /* Default to the DHCP/BOOTP port. */
        if (!local_port)