From: Ted Lemon Date: Wed, 27 Oct 1999 20:44:34 +0000 (+0000) Subject: Don't log to stderr if -q flag is specified. X-Git-Tag: V2-0-1~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e4143df932aaca89231271e8502152fbfda69a5;p=thirdparty%2Fdhcp.git Don't log to stderr if -q flag is specified. --- diff --git a/client/dhclient.c b/client/dhclient.c index d904e7533..3e2a6f4d5 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -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) { diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c index 1d4d24d13..b9ca001c2 100644 --- a/relay/dhcrelay.c +++ b/relay/dhcrelay.c @@ -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) { diff --git a/server/dhcpd.c b/server/dhcpd.c index 2dedfc42a..0f75663c9 100644 --- a/server/dhcpd.c +++ b/server/dhcpd.c @@ -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)