Commit Graph

191 Commits

Author SHA1 Message Date
lukem
443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
enami
270db080e9 Use PRINTOBJDIR. 2001-01-07 08:00:54 +00:00
mycroft
04adf420b1 Don't terminate the loop after getting a short packet, either. 2000-11-27 17:36:19 +00:00
mycroft
a23cc61626 For BPF, we must loop on receive_packet(). BPF may return multiple packets at
once, and we obviously won't get a select() hit for each one in that case.
2000-11-27 17:33:02 +00:00
mycroft
33515cb532 Make sure to BPF_WORDALIGN() the buffer pointer for each packet, as BPF does in
the kernel.  Otherwise the pointers get out of sync and dhcpd goes nuts.
2000-11-27 17:08:16 +00:00
tron
68fa36f81f Avoid segmentation fault if "dns_zone_lookup()" is called with an empty
string as name. Problem noted by Simon Burge.
2000-11-07 13:21:36 +00:00
taca
6a3b366a8c Patch from the ISC DHCP CVS repository, fix dhclient problem,
"Re: dhclient still taking up 95% of CPU" in current-users:

: Fix for bug #416: If a server hands dhclient an insanely large
: lease time, select() can get passed a too-large timeout, causing it
: to return EINVAL.  This fix restricts the select() timeout to one day.
2000-11-02 03:14:21 +00:00
taca
e3e05b89d4 Patch from the ISC DHCP CVS repository:
: Tweak omapi_protocol_connect() so that authenticators are sent in the
: proper order.
2000-11-02 03:14:02 +00:00
tron
b56cc4466d Patch from Takahiro Kambe to fix crashes if dynamic DNS updates
are used. This fixes PR bin/10665 by Mason Loring Bliss.
2000-10-29 22:55:57 +00:00
taca
5dea32f506 Make it compile again. 2000-10-17 16:12:20 +00:00
taca
0cb6a7cf94 Merge 3.0b2pl9 with head. 2000-10-17 16:10:38 +00:00
taca
70a42dc992 DHCP 3.0 Beta 2 Patchlevel 9 2000-10-17 15:07:41 +00:00
taca
5f70e573c1 - replace DBDIR, ETCDIR and RUNDIR with /var/db, /etc, /var/run.
Original dhcp package, those strings are replaced with real pathname
  when creating catman files.  Since we install man files, those strings
  should be replaced with real pathname.
2000-10-14 05:14:01 +00:00
is
d8302e2d73 More format string cleanups by sommerfeld. 2000-10-11 20:23:46 +00:00
mellon
a894c0a5ef Goto label was in slightly wrong place. 2000-09-29 00:30:56 +00:00
mellon
4649cc23c5 Update some instances of file movement in the ISC release. 2000-09-05 00:50:07 +00:00
mellon
e59a2459c4 Merge 3.0b2pl2 with head. 2000-09-04 23:19:27 +00:00
mellon
4ca7dd8c85 DHCP 3.0 Beta 2 Patchlevel 2 2000-09-04 23:09:46 +00:00
jwise
b240da3ec1 Fix circular reference. Instead of cross referencing itself, dhcpd.conf(5)
now cross-references dhcpd(8).
2000-08-02 18:23:44 +00:00
jdolecek
973a6510c5 backup previous - including ../Makefile.inc does have some
side effects (as pointed by enami), and I changed my build
environment to not need such hack
2000-07-31 17:25:47 +00:00
jdolecek
19c28ebcf8 pull in ../Makefile.inc before bsd.prefs.mk, in case someone (like me)
has some stuff depending on e.g. value of WARNS in /etc/mk.conf
2000-07-29 12:44:45 +00:00
mycroft
98a44cdc45 Do the PTRSIZE_64BIT thing in the port-specific .h file instead. 2000-07-26 14:41:23 +00:00
mycroft
64ef2ce0d3 Define PTRSIZE_64BIT for alpha and sparc64. 2000-07-23 22:44:07 +00:00
mellon
2749a115e8 Back out previons revision in favour of a simpler solution. 2000-07-23 07:13:57 +00:00
mellon
893c278cbb Put missing PATH= in CLIENT_PATH define. 2000-07-23 07:10:00 +00:00
thorpej
84ffef610f Set the PATH environment variable properly. Now this actually
works again.
2000-07-23 05:34:53 +00:00
thorpej
f407f6eb9d CPP directives go into CPPFLAGS, not COPTS. 2000-07-23 05:33:21 +00:00
pk
171b3bf97a dhcp_option_ev_name: make argument `buflen' match the prototype. 2000-07-22 20:54:56 +00:00
mellon
aa27884601 Client path defined in Makefile. 2000-07-20 06:33:50 +00:00
mellon
4b564fe2bf Merge 20000719 changes 2000-07-20 05:59:17 +00:00
mellon
8e7171f5ab Final (I hope) DHCP client security fix. 2000-07-20 05:49:35 +00:00
mellon
803abd7fc5 Actually fix a bug I thought I'd alread fixed 2000-07-09 07:04:10 +00:00
mellon
f1157334e4 Oops, fix one more conflict. 2000-07-08 20:53:57 +00:00
mellon
d1340e80d6 Fix conflicts in latest import. 2000-07-08 20:52:11 +00:00
mellon
f1127576c6 Latest revision of the ISC DHCP Distribution, with many bug fixes. 2000-07-08 20:40:10 +00:00
briggs
72e9fc0fb5 If both SMALL and NSUPDATE are defined, undefine NSUPDATE. The NSUPDATE
option pulls in a set of symbols that increases the size of dhclient
with functionality that is not required for installation media.
This was discussed with Ted Lemon, and the patch is being submitted to him
for inclusion in his source tree.
2000-06-26 12:33:14 +00:00
mellon
cb94aaa4bf Delete some debugging statements that got included accidentally. 2000-06-24 19:05:50 +00:00
mellon
61f43e2b27 Allocate command line interface using interface_allocate (pr#10378) 2000-06-24 16:21:02 +00:00
mellon
770dd9d3d3 Merge latest version, fix conflicts. 2000-06-24 06:57:05 +00:00
mellon
11e02a2cec Merge latest version, fix conflicts. 2000-06-24 06:50:01 +00:00
mellon
cbcf186604 3.0b2 as of June 23 - fixes two important glitches. 2000-06-24 06:38:26 +00:00
mellon
5ec30b76db Fix a paste-o (thanks to Frederick Bruckman for investigating this) 2000-06-13 15:39:07 +00:00
mellon
45362f7ad8 Register the host type. 2000-06-13 15:37:16 +00:00
mellon
3664f335db - In parse_host_declaration, check for boolean status from clone_group,
not isc_result_t.
2000-06-12 19:48:46 +00:00
mellon
651c0b2dc2 Pass interface name required by format to log_fatal. 2000-06-12 18:57:43 +00:00
mellon
eba9d5379d Fix a core dump caused by an uninitialized pointer. 2000-06-12 17:43:26 +00:00
mellon
cc4d3c7a56 Differentiate the version number. 2000-06-10 18:52:45 +00:00
mellon
ce18212259 Fix up some failover dependencies 2000-06-10 18:31:11 +00:00
mellon
3eff691939 Update makefiles and remove removed files. 2000-06-10 18:29:27 +00:00
mellon
582a2367ec Fix conflicts in merge. 2000-06-10 18:17:18 +00:00