mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-02 15:25:48 +00:00
Pull up changes from 3.0.
This commit is contained in:
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char ocopyright[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -173,7 +173,8 @@ int main (argc, argv, envp)
|
|||||||
} else {
|
} else {
|
||||||
he = gethostbyname (argv [i]);
|
he = gethostbyname (argv [i]);
|
||||||
if (!he) {
|
if (!he) {
|
||||||
log_error ("%s: host unknown", argv [i]);
|
log_error ("%s: host unknown",
|
||||||
|
argv [i]);
|
||||||
} else {
|
} else {
|
||||||
iap = ((struct in_addr *)
|
iap = ((struct in_addr *)
|
||||||
he -> h_addr_list [0]);
|
he -> h_addr_list [0]);
|
||||||
@@ -198,8 +199,10 @@ int main (argc, argv, envp)
|
|||||||
log_info (arr);
|
log_info (arr);
|
||||||
log_info (contrib);
|
log_info (contrib);
|
||||||
log_info (url);
|
log_info (url);
|
||||||
} else
|
} else {
|
||||||
quiet = 0;
|
quiet = 0;
|
||||||
|
log_perror = 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Default to the DHCP/BOOTP port. */
|
/* Default to the DHCP/BOOTP port. */
|
||||||
if (!local_port) {
|
if (!local_port) {
|
||||||
|
Reference in New Issue
Block a user