]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Pull up changes from 3.0.
authorTed Lemon <source@isc.org>
Wed, 26 Jan 2000 15:15:31 +0000 (15:15 +0000)
committerTed Lemon <source@isc.org>
Wed, 26 Jan 2000 15:15:31 +0000 (15:15 +0000)
relay/dhcrelay.c

index ec13f70c169abf770d341d72e8e87634668584b1..3d6148c65ce03e4e5b30749b2807f262c5463bdd 100644 (file)
@@ -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) {