From: Ted Lemon Date: Thu, 28 Oct 1999 13:09:35 +0000 (+0000) Subject: Don't log to stderr if -q flag is given. X-Git-Tag: BCTEL_SPECIAL_19991124~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4f749466f89525674c777f655e56afda35cbaec;p=thirdparty%2Fdhcp.git Don't log to stderr if -q flag is given. --- diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c index 126412bf6..80d9dd0d5 100644 --- a/relay/dhcrelay.c +++ b/relay/dhcrelay.c @@ -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) { diff --git a/server/dhcpd.c b/server/dhcpd.c index f4a2def5a..9d36892a5 100644 --- a/server/dhcpd.c +++ b/server/dhcpd.c @@ -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)