From: Ted Lemon Date: Wed, 26 Jan 2000 15:15:31 +0000 (+0000) Subject: Pull up changes from 3.0. X-Git-Tag: V3-BETA-2-PATCH-1~402 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc62fb2ababb5cdfd4d5c03e3a1874edea37b2d8;p=thirdparty%2Fdhcp.git Pull up changes from 3.0. --- diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c index ec13f70c1..3d6148c65 100644 --- a/relay/dhcrelay.c +++ b/relay/dhcrelay.c @@ -22,7 +22,7 @@ #ifndef lint static char ocopyright[] = -"$Id: dhcrelay.c,v 1.38 2000/01/26 14:56:16 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhcrelay.c,v 1.39 2000/01/26 15:15:31 mellon Exp $ Copyright (c) 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -173,7 +173,8 @@ int main (argc, argv, envp) } else { he = gethostbyname (argv [i]); if (!he) { - log_error ("%s: host unknown", argv [i]); + log_error ("%s: host unknown", + argv [i]); } else { iap = ((struct in_addr *) he -> h_addr_list [0]); @@ -198,8 +199,10 @@ int main (argc, argv, envp) log_info (arr); log_info (contrib); log_info (url); - } else + } else { quiet = 0; + log_perror = 0; + } /* Default to the DHCP/BOOTP port. */ if (!local_port) {