2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00
Commit Graph

2602 Commits

Author SHA1 Message Date
Ted Lemon
b7d4762721 Fix a core dump in dhcprelease. 2001-03-22 21:36:49 +00:00
Ted Lemon
08a51b9840 Update documentation of client identifier representation. 2001-03-22 07:01:45 +00:00
Ted Lemon
e47988bfd7 fix up dhclient script defaults. 2001-03-22 07:01:11 +00:00
Ted Lemon
4b63da96d1 Get rid of a ??? that confuses the Sun compiler. 2001-03-22 07:00:15 +00:00
Ted Lemon
c08637bb39 Add some changes suggested by Cyrille Lefevre 2001-03-22 06:59:28 +00:00
Ted Lemon
4ca9936c1b Document some new flags. 2001-03-22 06:56:42 +00:00
Ted Lemon
fda4fd46a5 client_script_name -> path_dhclient_script 2001-03-22 06:56:00 +00:00
Ted Lemon
1dba919cf5 Install client script in (e.g.) /sbin. 2001-03-22 06:54:40 +00:00
Ted Lemon
38793a2633 Add a README entry about locally-defined options. 2001-03-22 06:53:58 +00:00
Ted Lemon
3a395e60ea Update changelog and version. V3-BETA-2-PATCH-22 2001-03-20 22:27:25 +00:00
Ted Lemon
59bdb6a11a This time for sure! (fix for spinning). 2001-03-20 22:25:30 +00:00
Ted Lemon
fc74dd0c38 Update version and changelog V3-BETA-2-PATCH-21 2001-03-20 07:40:25 +00:00
Ted Lemon
894820f2dd Actually fix the spin that I thought I'd fixed previously. 2001-03-20 07:29:35 +00:00
Ted Lemon
b0b4f89c39 Add a missing else whose absence was causing memory smashes. 2001-03-20 07:26:57 +00:00
Ben Cottrell
c73ced691d Fixed RT 938 having to do with SIOCGIFCONF on Linux. We now do a first
pass in which we pass a null pointer for the buffer, and we will get
back the length of the buffer we should allocate. This is because
if you pass in a buffer that is too small, Linux (unlike other OSes)
will not tell you that it is too small by returning a length greater
than the length you passed in.
2001-03-17 02:11:29 +00:00
Ted Lemon
ed5ee59141 Update version number and changelog V3-BETA-2-PATCH-20 2001-03-17 02:09:02 +00:00
Ted Lemon
a3cd7f284e Set lease -> uid_max. 2001-03-17 02:02:20 +00:00
Ted Lemon
7ebf32da1b Don't stash uid_len until we know we have a uid. 2001-03-17 01:24:59 +00:00
Ted Lemon
b1820749bd - Fix a bug that would cause the server to spin looking for leases to free.
- Fix a non-null pointer store.
2001-03-17 00:48:34 +00:00
Ted Lemon
b3519f23f1 Support NUL characters in STRING tokens. 2001-03-17 00:47:39 +00:00
Ben Cottrell
5a3adf94a7 Partial fix for RT #982 -- since all recent versions of Solaris come
with troff, we can safely install the non-preformatted man pages.
2001-03-17 00:13:16 +00:00
Ben Cottrell
3d2aa1bff4 More DLPI patches from Joost. His patch was way garbled, but this is my
best interpretation of it. The only thing confusing me is that I thought
he'd fixed all the byte order dependencies in an elegant way, but I
still see some rather ugly #ifdefs in this code. Oh well. At least it
works on minbar.
2001-03-16 22:12:19 +00:00
Ted Lemon
1ad180b1f2 Update bug tracking advice V3-BETA-2-PATCH-19 2001-03-16 02:05:24 +00:00
Ted Lemon
3350f5b741 Update changelog 2001-03-16 02:05:17 +00:00
Ted Lemon
940e5b93bd Initialize a couple of pointers. 2001-03-16 01:57:00 +00:00
Ted Lemon
d588b01f6e - Return a correct status in lease_ours_to_reallocate even if the lease isn't
in a failover pool.
2001-03-16 01:56:32 +00:00
Ted Lemon
7f65aa81c2 - Check client identifier on hw_lease before giving it to the client.
- Don't try to reference host to lease if there's no host.
2001-03-16 01:55:38 +00:00
Ted Lemon
c2318c2074 ns_rcode -> isc_result_t 2001-03-16 00:23:59 +00:00
Ted Lemon
cb8176c4ae Always reference count leases. 2001-03-15 23:22:33 +00:00
Ted Lemon
c0b7fffacd - Write things that could contain non-printable values as quotable strings
with non-printable values stored as \\ooo.
2001-03-15 23:21:25 +00:00
Ted Lemon
d73c240408 Add quotify prototypes. 2001-03-15 23:17:48 +00:00
Ted Lemon
0efc1180e9 Add quotify functions. 2001-03-15 23:17:28 +00:00
Ted Lemon
46b626384f Use eval for ifconfig so that medium can include quoted strings (yuck!) 2001-03-15 23:16:52 +00:00
Ted Lemon
dd215f30ff - Do better error checking on lease write.
- Write quoted strings with special characters quoted.
2001-03-15 23:12:03 +00:00
Ted Lemon
d2ff2ec298 Don't reference/dereference failover_listeners if it's null. 2001-03-14 17:40:59 +00:00
Ted Lemon
b3fad8ac0b Update changelog and version info. 2001-03-14 17:36:48 +00:00
Ted Lemon
ef4d4bfdaa Fix an endian bug in trace files (James Brister) 2001-03-14 15:56:27 +00:00
Ted Lemon
0240e57c46 Check comp->uid instead of lease->uid when entering a lease's ID info. 2001-03-14 15:45:41 +00:00
Ted Lemon
6c6084374e - Fix DHCPINFORM non-return bug.
- Log released leases always.
- Byte swap secs on log message.
- Fix a possible null pointer dereference that could happen in certain
  obscure cases.
2001-03-14 15:44:39 +00:00
Ted Lemon
f834d4ff91 Use unparsable names for unknown options. 2001-03-14 15:39:32 +00:00
Ted Lemon
aba6b916b6 Fix documentation for sending non-standard options. 2001-03-14 15:38:44 +00:00
Ted Lemon
ed0f73abbd Do client script exit status checking more portably 2001-03-14 15:37:52 +00:00
Ted Lemon
ae598b4274 Get rid of local debug flag. 2001-03-14 15:36:57 +00:00
Ted Lemon
8cc0a65b2f Set up global debug flag. 2001-03-14 15:33:39 +00:00
Ted Lemon
61126661cf Remove files starting with # in realclean target. 2001-03-01 22:12:16 +00:00
Ted Lemon
30a122eebc Don't start ICMP if we're just testing a lease file. 2001-03-01 22:11:50 +00:00
Ted Lemon
5dafbb5bd5 Fix a solaris build problem. 2001-03-01 22:11:26 +00:00
Ted Lemon
e493934dc4 Document -r flag 2001-03-01 22:11:12 +00:00
Ted Lemon
530de8b20c Apply a signed vs. unsigned fix suggested by Onno Van Der Linden. 2001-03-01 21:44:31 +00:00
Ted Lemon
0b69dcc870 Change EOF to END_OF_FILE in tokenizer for enum compatibility. 2001-03-01 18:17:09 +00:00