summaryrefslogtreecommitdiff
path: root/relay
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1999-10-27 20:45:19 +0000
committerTed Lemon <source@isc.org>1999-10-27 20:45:19 +0000
commitdbc815fe8f5fc4680ed784c99d18a9ccde8e7fce (patch)
tree2a5df214b87b60d60ef139e7ce4a8c2d0a5a96ed /relay
parentb2f942759c0d4fb4ff3c878a4b6cbbcc2f294bcc (diff)
downloadisc-dhcp-dbc815fe8f5fc4680ed784c99d18a9ccde8e7fce.tar.gz
Don't log to stderr if -q flag is specified.
Diffstat (limited to 'relay')
-rw-r--r--relay/dhcrelay.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c
index bd8a741d..1bbcbeca 100644
--- a/relay/dhcrelay.c
+++ b/relay/dhcrelay.c
@@ -22,7 +22,7 @@
#ifndef lint
static char ocopyright[] =
-"$Id: dhcrelay.c,v 1.33 1999/05/07 17:32:38 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
+"$Id: dhcrelay.c,v 1.33.2.1 1999/10/27 20:44:59 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n";
#endif /* not lint */
#include "dhcpd.h"
@@ -199,7 +199,8 @@ int main (argc, argv, envp)
log_info (arr);
log_info (contrib);
log_info (url);
- }
+ } else
+ log_perror = 0;
/* Default to the DHCP/BOOTP port. */
if (!local_port) {