Ted Lemon
229a47a832
Fix a signed vs. unsigned char pointer mismatch.
2000-06-24 06:31:51 +00:00
Ted Lemon
0096c63929
Fix an unprotected call to failover_print.
2000-06-24 06:30:11 +00:00
Ted Lemon
312a6a35b9
Don't listen on an OMAPI port unless configured to do so.
2000-06-24 06:28:27 +00:00
Ted Lemon
524c92851c
When debugging malloc on an object, be sure it has no special free routine.
2000-06-24 06:27:04 +00:00
Ted Lemon
74aaf02718
Use mkstemp on freebsd...
2000-06-24 06:25:25 +00:00
Ted Lemon
626ca6a2c1
Add an omapi port config parameter to client config structure.
2000-06-24 06:23:57 +00:00
Ted Lemon
ac4b9d4b9a
Quote shell special characters.
2000-06-24 06:20:38 +00:00
Ted Lemon
d5ef29468a
Make the hash functions work usefully for hash table sizes >255.
2000-06-24 06:19:13 +00:00
Ted Lemon
9ea249af6e
Add 'omapi' keyword
2000-06-24 06:17:55 +00:00
Ted Lemon
c3369c5b53
Allocate hash buckets in clumps. Fix a bug in a call to rc_register.
2000-06-24 06:16:28 +00:00
Ted Lemon
40a59753f0
Don't listen on an OMAPI port unless one is specified in the config file.
2000-06-24 06:02:01 +00:00
Ted Lemon
67e3490a34
Parse an OMAPI port out of the config file.
2000-06-24 05:53:35 +00:00
Ted Lemon
b1bd9d0799
Test for work.sysname, not just sysname.
2000-06-24 05:49:24 +00:00
Ted Lemon
cfb3f45dac
- Add some code to actually track down and report the I/O object that's
...
producing a bad descriptor, and to try to shut it down.
2000-06-20 20:30:27 +00:00
Ted Lemon
88dd0d2083
Fix depend target. Don't echo building of links.
2000-06-20 20:29:16 +00:00
Ted Lemon
3fc9a0ef5e
- When using sockets, enable CAN_RECEIVE_UNICAST_UNCONFIGURED so that
...
clients will not set the broadcast flag. This helps with a specific
kind of cable modem that doesn't support DHCP broadcast responses.
2000-06-20 20:27:37 +00:00
Ted Lemon
e5735b8aea
Make links build silent
2000-06-20 20:25:30 +00:00
Ted Lemon
2ac5bde5b1
- Add a work. prefix to build subdirectory names so that they all wind
...
up in the same place in the list.
2000-06-20 20:24:26 +00:00
Ted Lemon
f2c1b733b9
- Add a work. prefix to build subdirectory names so that they all wind up
...
in the same place in the list.
2000-06-20 20:23:53 +00:00
Ted Lemon
737cfe20d5
Add all the possible top-level make targets.
2000-06-20 20:07:54 +00:00
Ted Lemon
64928ad071
Take away some debugging, and always build nsupdate.
2000-06-20 20:05:02 +00:00
Ted Lemon
57c8fdd799
Fix up the declaration for the failover_link allocator.
2000-06-20 20:03:42 +00:00
Ted Lemon
b515ff35f2
Fix up to support build subdirectories. Fix depend target.
2000-06-20 20:01:06 +00:00
Ted Lemon
6b474b5b4a
Make from64 unsigned (not sure this matters).
2000-06-20 19:59:50 +00:00
Ted Lemon
425204b6a6
Add a links target for making the build subtrees.
2000-06-20 19:43:44 +00:00
Ted Lemon
a69a2e6821
Add mkdep variable. Always build DDNS.
2000-06-20 19:43:12 +00:00
Ted Lemon
60fdb6e617
- Configure into a system-specific build subtree.
...
- Add support for just printing the system name, for the top-level Makefile.
2000-06-20 19:42:30 +00:00
Ted Lemon
bfe063e774
Top-level makefile to build the subtree for the current architecture.
2000-06-20 19:41:21 +00:00
Ted Lemon
e41a847872
Don't ignore Makefile anymore.
2000-06-20 19:40:53 +00:00
Ted Lemon
62452b8ffa
Use mkdep rather than makedepend
2000-06-12 22:25:55 +00:00
Ted Lemon
55321a210e
Clean up a possible memory smash in the binding code.
2000-06-12 22:22:09 +00:00
Ted Lemon
5b01171a9d
- Clean up some edge cases when a lease is requested that's shorter than
...
mclt or tsfp.
2000-06-12 22:20:43 +00:00
Ted Lemon
4e9f14044f
Initialize the dhcp_type_host type definition.
2000-06-12 20:25:37 +00:00
Ted Lemon
999992c91e
Fix a couple of problems with the ack and update queue code.
2000-06-12 20:19:21 +00:00
Ted Lemon
f84d544bb3
Fix a bunch of problems in calling clone_grpup.
2000-06-12 20:14:16 +00:00
Ted Lemon
2aac431201
- Make ON_ACK_QUEUE and ON_UPDATE_QUEUE persistent (fixes a problem with
...
queuing updates during communications_interrupted).
2000-06-12 20:12:13 +00:00
Ted Lemon
d0b1c50ebb
- Fix interface_dummy to notice reference error.
...
- Fix interface parser to zero interface pointer before using it.
2000-06-12 20:08:56 +00:00
Ted Lemon
72896e9f57
Make dhcp_failover_make_option prototype consistent with declaration.
2000-06-10 17:55:11 +00:00
Ted Lemon
7d35446486
Add a missing store that was masked by the i386 calling conventions.
2000-06-09 23:07:56 +00:00
Ted Lemon
f0cf3e15d3
Make a special case for NetBSD/arm32.
2000-06-09 18:26:59 +00:00
Ted Lemon
e651f9b234
Fix up handling of failover peer disconnects.
2000-06-08 21:29:02 +00:00
Ted Lemon
b73c184acf
Don't log 'late' ICMP echo replies for failover leases.
2000-06-08 21:25:47 +00:00
Ted Lemon
9efd3acc65
- Don't force the lease to be default-lease-time seconds long if
...
the client requested a lease shorter than MCLT of a failover peer.
2000-06-08 21:22:48 +00:00
Ted Lemon
1dd632af0d
- Correctly check the result of make_concat (thanks to Scott Reynolds).
...
This fixes a long-standing 3.0 problem where more than one fixed
address declaration in a host declaration would not be honored.
2000-06-08 21:20:00 +00:00
Ted Lemon
68e1f67a18
- Fix a mistake that was causing the fallback interface not to be used (thanks
...
to Christof Chen for catching this!)
2000-06-08 21:14:16 +00:00
Ted Lemon
0baf2c4a68
Allow reject reason and message in BNDACK messages.
2000-06-07 00:32:55 +00:00
Ted Lemon
e9f0d7c31b
Don't use dhcp_lease_free unless COMPACT_LEASES is defined.
2000-06-07 00:28:21 +00:00
Ted Lemon
0756bc8ae9
- Get rid of the obnoxious doubly-linked list and seperate timeout queue
...
and just make six lists with six kinds of leases sorted as timeout queues.
2000-06-07 00:15:53 +00:00
Ted Lemon
6f0b9ed09c
- Break ack queue chain when a lease is removed from the ack queue, so that
...
its successor doesn't wind up back on the update queue when the lease is
next updated.
- Print the reject reason when a BNDACK includes one, but still remove the
lease from the update queue.
- Don't use the lease to send the BNDACK, since there may not be one locally.
- Support contact message, and inter-message-arrival timeouts.
2000-06-07 00:05:17 +00:00
Ted Lemon
dbc855c920
Fix a couple of core dumps. Don't DHCPNAK when peer haslease.
2000-06-06 23:59:18 +00:00