Commit Graph

72 Commits

Author SHA1 Message Date
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
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
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
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 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 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
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 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
mellon a32e54aef9 Belated import of recent DHCP core dumps, etc. Approved by releng. 2000-06-10 18:04:36 +00:00
matt a3ab2a3d02 Add/fix FDDI support for NetBSD (& Tru64). [Tru64 has at least one bug left] 2000-05-28 01:27:52 +00:00
thorpej baa6042b06 Add placeholders for Preboot Execution Environment (PXE) options,
from version 2.1 of the PXE spec.
2000-05-13 03:44:51 +00:00
thorpej acd373ca8f .cvsignore bad! bad _MelloN_, no biscuit! 2000-04-25 21:18:44 +00:00
thorpej 7b512c0ae2 Avoid an unaligned access. 2000-04-24 05:38:51 +00:00
thorpej 0ce0f58ae0 Fix a bug where a clause in the client configuration file like:
default nis-domain "";

would cause a NULL pointer deref while writing out the lease into
the persistent database if the server didn't include an nis-domain
option in the reply.
2000-04-24 05:27:51 +00:00
sommerfeld e012be0e69 unsigned != size_t (tripped up build on alpha). 2000-04-23 02:47:57 +00:00
mellon e04a818808 Initial merge of ISC DHCP 3.0 into NetBSD tree (incomplete) 2000-04-22 08:18:11 +00:00
mellon e86d6c24ba Initial import of version 3 of the ISC DHCP distribution. 2000-04-22 07:11:26 +00:00
enami 9ce05a481a Move the actual work when dhclient got signal out of signal handlers,
and make not to exit the program if the signal is hanldled properly.

Reviewed by: Ted Lemon
1999-08-24 03:25:31 +00:00
thorpej 26e41e4c44 The host-name option is text. 1999-06-04 20:09:12 +00:00
mellon 3c82a97a8d Merge with ISC source. 1999-04-26 15:47:03 +00:00
mellon 58d7576468 Patchlevel 27 1999-04-26 15:43:06 +00:00
mellon 177a06d1a4 Resolve conflicts from Patchlevel 25 import. 1999-04-09 17:55:01 +00:00
mellon 95518966c2 Patchlevel 25 1999-04-09 17:52:05 +00:00
mellon 2edefbc506 Import 2.0b1pl22, the pecked-to-death-by-ducks patchlevel. 1999-03-30 03:10:46 +00:00
mellon 4f34fd30b5 Patchlevel 20 fixes 1999-03-30 00:10:08 +00:00
mellon 3b4ecb27b5 Patchlevel 20 1999-03-29 23:00:49 +00:00
mellon 28f100096f Patchlevel 19 1999-03-26 17:49:19 +00:00
lukem 7e1c62baf8 set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp> 1999-03-13 23:17:46 +00:00
mellon 9c2d0f125c 2.0 Beta 1 Patchlevel 18 1999-03-05 17:43:43 +00:00
mellon 984693e047 V2 Beta 1 Patchlevel 15 1999-02-24 04:11:01 +00:00
mellon db803634cc Not needed in NetBSD 1999-02-19 22:01:10 +00:00
mellon 4c4fb0b6fd Patchlevel 14 1999-02-19 21:58:14 +00:00
mellon c6b1d8a95d DHCP 2.0b1pl13 1999-02-18 21:48:47 +00:00