This commit was generated by cvs2svn to compensate for changes in r63616,

which included commits to RCS files with non-trunk default branches.
This commit is contained in:
David E. O'Brien 2000-07-20 08:36:42 +00:00
commit 46814e0b72
6 changed files with 22 additions and 8 deletions

View File

@ -46,6 +46,7 @@ MANCAT = cat
ETC = /etc
VARRUN = /var/run
VARDB = /var/db
CLIENT_PATH = '"PATH=/usr/ucb:/usr/bin:/usr/sbin:/bin:/sbin"'
# Major version number (if applicable)
##--majver--

View File

@ -1,6 +1,6 @@
<C><H4>Internet Software Consortium</H4></C>
<C><H4>Dynamic Host Configuration Protocol Distribution</H4></C>
<C><H4>Version 2 Patchlevel 2</H4></C>
<C><H4>Version 2 Patchlevel 3</H4></C>
<C><H4>June 30, 2000</H4></C>
<C><H4>README FILE</H4></C>
@ -135,13 +135,13 @@ information. On Digital Unix, type ``man pfilt''.</P>
the tar utility and the gzip command - type something like:</P>
<BLOCKQUOTE>
zcat dhcp-2.0pl2.tar.gz |tar xvf -
zcat dhcp-2.0pl3.tar.gz |tar xvf -
</BLOCKQUOTE>
<P>On BSD/OS, you have to type gzcat, not zcat, and you may run into
similar problems on other operating systems.</P>
<P>Now, cd to the dhcp-2.0pl2 subdirectory that you've just created and
<P>Now, cd to the dhcp-2.0pl3 subdirectory that you've just created and
configure the source tree by typing:</P>
<BLOCKQUOTE>

View File

@ -1,7 +1,7 @@
Internet Software Consortium
Dynamic Host Configuration Protocol Distribution
Version 2 Patchlevel 2
June 30, 2000
Version 2 Patchlevel 3
July 19, 2000
Release Notes
@ -22,6 +22,13 @@ the README file.
This log describes the changes that have been made in version 2.0
since June of 1997.
CHANGES FROM VERSION 2.0 PATCHLEVEL 2
- Rather than calling a client environment setup script, set the
environment up directly, so as to avoid any possible exploit making
use of clever shell metacharacter hacks. This is a security fix
that applies to the DHCP client *only*.
CHANGES FROM VERSION 2.0 PATCHLEVEL 1
- Fix a case where an unitialized pointer could result from an exceptional

View File

@ -42,7 +42,8 @@ MAN = dhclient.8 dhclient.conf.5 dhclient-script.8 dhclient.leases.5
DEBUG = -g
INCLUDES = -I.. -I../includes
DHCPLIB = ../common/libdhcp.a
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS)
CFLAGS = $(DEBUG) $(PREDEFINES) $(INCLUDES) $(COPTS) \
-DCLIENT_PATH=${CLIENT_PATH}
all: $(PROG) $(CATMANPAGES)

View File

@ -356,6 +356,9 @@ struct client_state {
struct iaddr requested_address; /* Address we would like to get. */
struct client_config *config; /* Information from config file. */
struct string_list *env; /* Client script environment. */
int envc; /* Number of entries in environment. */
};
/* Information about each network interface. */
@ -895,13 +898,15 @@ void free_client_lease PROTO ((struct client_lease *));
void rewrite_client_leases PROTO ((void));
void write_client_lease PROTO ((struct interface_info *,
struct client_lease *, int));
char *dhcp_option_ev_name PROTO ((struct option *));
void script_init PROTO ((struct interface_info *, char *,
struct string_list *));
void script_write_params PROTO ((struct interface_info *,
char *, struct client_lease *));
int script_go PROTO ((struct interface_info *));
void client_envadd PROTO ((struct client_state *,
const char *, const char *, const char *, ...));
int dhcp_option_ev_name (char *, size_t, struct option *);
struct client_lease *packet_to_lease PROTO ((struct packet *));
void go_daemon PROTO ((void));

View File

@ -1,3 +1,3 @@
/* Current version of ISC DHCP Distribution. */
#define DHCP_VERSION "2.0pl2"
#define DHCP_VERSION "2.0pl3"