diff options
author | mbr <mbr@FreeBSD.org> | 2004-08-15 23:33:13 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2004-08-15 23:33:13 +0000 |
commit | 8ac20c1e5cbf5e48cae36ee6922c4b63636bfbf7 (patch) | |
tree | a83296ecf40420d232cc8884ef3cf19e9595552f /contrib/isc-dhcp | |
parent | 6142841dcea3dd0787358af0ebfba28718bc49ca (diff) | |
download | FreeBSD-src-8ac20c1e5cbf5e48cae36ee6922c4b63636bfbf7.zip FreeBSD-src-8ac20c1e5cbf5e48cae36ee6922c4b63636bfbf7.tar.gz |
Import ISC DHCP 3.0.1 client.
Diffstat (limited to 'contrib/isc-dhcp')
-rw-r--r-- | contrib/isc-dhcp/README | 15 | ||||
-rw-r--r-- | contrib/isc-dhcp/RELNOTES | 23 | ||||
-rw-r--r-- | contrib/isc-dhcp/client/dhclient.c | 3 | ||||
-rw-r--r-- | contrib/isc-dhcp/includes/version.h | 2 | ||||
-rw-r--r-- | contrib/isc-dhcp/omapip/dispatch.c | 2 | ||||
-rw-r--r-- | contrib/isc-dhcp/omapip/mrtrace.c | 2 | ||||
-rw-r--r-- | contrib/isc-dhcp/omapip/test.c | 1 |
7 files changed, 33 insertions, 15 deletions
diff --git a/contrib/isc-dhcp/README b/contrib/isc-dhcp/README index b4ef281..682bd19 100644 --- a/contrib/isc-dhcp/README +++ b/contrib/isc-dhcp/README @@ -1,6 +1,6 @@ Internet Systems Consortium DHCP Distribution - Version 3.0.1rc14 - June 09, 2004 + Version 3.0.1 + July 14, 2004 README FILE @@ -96,8 +96,7 @@ system. RELEASE STATUS -This is fourteenth release candidate of version 3.0.1 of the ISC DHCP -Distribution. +This is release version 3.0.1 of the ISC DHCP Distribution. In this release, the server and relay agent are currently fully functional on NetBSD, Linux systems with kernel version 2.2 or later, @@ -140,17 +139,17 @@ information. On Digital Unix, type ``man pfilt''. To build the DHCP Distribution, unpack the compressed tar file using the tar utility and the gzip command - type something like: - zcat dhcp-3.0.1rc14.tar.gz |tar xvf - + zcat dhcp-3.0.1.tar.gz |tar xvf - On BSD/OS, you have to type gzcat, not zcat, and you may run into similar problems on other operating systems. CONFIGURING IT -Now, cd to the dhcp-3.0.1rc14 subdirectory that you've just -created and configure the source tree by typing: +Now, cd to the dhcp-3.0.1 subdirectory that you've just created and +configure the source tree by typing: - ./configure + ./configure If the configure utility can figure out what sort of system you're running on, it will create a custom Makefile for you for that diff --git a/contrib/isc-dhcp/RELNOTES b/contrib/isc-dhcp/RELNOTES index c483f8f..9a2b351 100644 --- a/contrib/isc-dhcp/RELNOTES +++ b/contrib/isc-dhcp/RELNOTES @@ -1,6 +1,6 @@ Internet Systems Consortium DHCP Distribution - Version 3.0.1rc14 - June 09, 2004 + Version 3.0.1 + July 14, 2004 Release Notes @@ -43,6 +43,25 @@ Murrell at BC Tel Advanced Communications. I'd like to express my thanks to all of these good people here, both for working on the code and for prodding me into improving it. + Changes since 3.0.1rc14 + +- The global variable 'cur_time' was centralized and is now uniformly of a + type #defined in system-dependent headers. It had previously been defined + in one of many places as a 32-bit value, and this causes mayhem on 64-bit + big endian systems. It probably wasn't too healthy on little endian + systems either. + +- A printf format string error introduced in rc14 was repaired. + +- AIX system-dependent header file was altered to only define NO_SNPRINTF + if the condition used to #ifdef in vsnprintf in AIX' header files + is false. + +- The Alpha/OSF system-dependent header file was altered to define + NO_SNPRINTF on OS revisions older than 4.0G. + +- omapip/test.c had string.h added to its includes. + Changes since 3.0.1rc13 ! CAN-2004-0460 - CERT VU#317350: Five stack overflow exploits were closed diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c index c4136cb..c24adbf 100644 --- a/contrib/isc-dhcp/client/dhclient.c +++ b/contrib/isc-dhcp/client/dhclient.c @@ -32,13 +32,12 @@ #ifndef lint static char ocopyright[] = -"$Id: dhclient.c,v 1.129.2.18 2004/06/10 17:59:12 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n"; +"$Id: dhclient.c,v 1.129.2.19 2004/07/10 00:11:16 dhankins Exp $ Copyright (c) 2004 Internet Systems Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" #include "version.h" -TIME cur_time; TIME default_lease_time = 43200; /* 12 hours... */ TIME max_lease_time = 86400; /* 24 hours... */ diff --git a/contrib/isc-dhcp/includes/version.h b/contrib/isc-dhcp/includes/version.h index 01089c6..ad359ab 100644 --- a/contrib/isc-dhcp/includes/version.h +++ b/contrib/isc-dhcp/includes/version.h @@ -1,3 +1,3 @@ /* Current version of ISC DHCP Distribution. */ -#define DHCP_VERSION "V3.0.1rc14" +#define DHCP_VERSION "V3.0.1" diff --git a/contrib/isc-dhcp/omapip/dispatch.c b/contrib/isc-dhcp/omapip/dispatch.c index fab14be..b90adda 100644 --- a/contrib/isc-dhcp/omapip/dispatch.c +++ b/contrib/isc-dhcp/omapip/dispatch.c @@ -35,7 +35,7 @@ #include <omapip/omapip_p.h> static omapi_io_object_t omapi_io_states; -u_int32_t cur_time; +TIME cur_time; OMAPI_OBJECT_ALLOC (omapi_io, omapi_io_object_t, omapi_type_io_object) diff --git a/contrib/isc-dhcp/omapip/mrtrace.c b/contrib/isc-dhcp/omapip/mrtrace.c index dfc24ff..ede75d0 100644 --- a/contrib/isc-dhcp/omapip/mrtrace.c +++ b/contrib/isc-dhcp/omapip/mrtrace.c @@ -61,7 +61,7 @@ time_t trace_mr_time (time_t *); int trace_mr_select (int, fd_set *, fd_set *, fd_set *, struct timeval *); unsigned int trace_mr_res_randomid (unsigned int); -extern time_t cur_time; +extern TIME cur_time; #if defined (TRACING) void trace_mr_init () diff --git a/contrib/isc-dhcp/omapip/test.c b/contrib/isc-dhcp/omapip/test.c index 2432c02..fbcaf7b 100644 --- a/contrib/isc-dhcp/omapip/test.c +++ b/contrib/isc-dhcp/omapip/test.c @@ -36,6 +36,7 @@ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> +#include <string.h> #include <isc-dhcp/result.h> #include <sys/time.h> #include <omapip/omapip.h> |