Commit Graph

156 Commits

Author SHA1 Message Date
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
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 3a6d2f7276 Define the PXE DHCP option codes. 2000-05-13 04:00:48 +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
enami 36069eacc0 - Use a tab instead of eight spaces for consistency and better output.
- Fix a typo.
2000-05-10 02:11:34 +00:00
matt 7a16f4991b fix an off by 1 error that prevents bootp from working. 2000-05-08 19:25:10 +00:00
thorpej f5fc764943 Only invoke hostname(1) and domainname(1) if they exist (tested with the
`type' shell built-in).  Makes it possible to save some space on install
media which uses DHCP.
2000-04-28 16:34:31 +00:00
thorpej d07c2b5b7e Fix a missing ~ which caused fixed-address leases to be treated like
normal leases, resulting in an eventual NULL-deref in supersede_lease().

Fixes PR #9976.
2000-04-26 23:11:20 +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
mellon e2074b3bbf Fix dhcpctl subdir build. 2000-04-23 21:42:29 +00:00
thorpej 7188cd9f3b Back out previous; it builds on LP64 platforms now. 2000-04-23 18:39:54 +00:00
thorpej 4ea436d3e0 Address LP64 issues (just add some casts; the code is safe). 2000-04-23 18:39:00 +00:00
sommerfeld c8ad38a791 Disable build of client on alpha due to LP64 issues. 2000-04-23 03:08:12 +00:00
sommerfeld e012be0e69 unsigned != size_t (tripped up build on alpha). 2000-04-23 02:47:57 +00:00
sommerfeld 4a799f6f27 disable dhcpctl subdir to un-break build since it doesn't have a makefile yet 2000-04-22 18:04:34 +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
soren e7d9a82c6f 'If it comes from a client that already knows its address and is not
requesting a broadcast response, and we can unicast to a client without
using the ARP protocol, sent it directly to that client.'

Make some ARCS firmware happy.

Many thanks to Ted Lemon for debugging this.
1999-12-07 23:23:16 +00:00
mjl 2c3c567c94 From FreeBSD misc/14850: When communicating with a BOOTP server,
dhclient would fail to configure the interface and crash. Added check
for lease time option present before using that value.
1999-11-15 15:50:16 +00:00
hubertf 4fa18183d7 Install example dhcpd.conf into /usr/share/examples/dhcp 1999-10-09 15:33:36 +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 4281f72137 If we get an NIS domain name, set it. If we set, clear it when the
lease is released.
1999-06-04 20:40:50 +00:00
thorpej a2b8006ca9 If we get a host-name option, set it. 1999-06-04 20:12:52 +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 a20da108b1 Merge patchlevel 22. 1999-03-30 03:12:28 +00:00
mellon 2edefbc506 Import 2.0b1pl22, the pecked-to-death-by-ducks patchlevel. 1999-03-30 03:10:46 +00:00
mellon 6ad36e81ac Re-add README file and RELNOTES, as they may actually be of some interest. 1999-03-30 01:54:50 +00:00
mellon ba99fde8c5 Merge patchlevel 21 1999-03-30 01:53:57 +00:00
mellon 1cc8443c6f Patchlevel 21 1999-03-30 01:51:44 +00:00