2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 09:57:20 +00:00

89 Commits

Author SHA1 Message Date
Ted Lemon
f717263951 Add object initializer support. Fix off-by-one bug in host stuffer. 2000-10-10 19:14:37 +00:00
Ted Lemon
8c63dd893f - Don't return information on the lease that's not present on the lease.
- Don't freak out when the client sends back information that's not settable.
2000-10-01 21:46:24 +00:00
Ted Lemon
36b1ebcf05 Byte-swap incoming integer data. 2000-09-29 18:22:05 +00:00
Ted Lemon
eadee39698 Panic commit. 2000-09-27 23:37:44 +00:00
Ted Lemon
72c7d498a2 Don't reference one group on top of another. 2000-09-08 01:34:30 +00:00
Damien Neil
4244dfb75f Fix assorted code which assumes that leases will always have an
associated hardware address.
2000-08-14 21:58:04 +00:00
Ted Lemon
0b1e395f13 Adjust arguments to omapi_object_type_register 2000-07-06 22:37:53 +00:00
Ted Lemon
229a47a832 Fix a signed vs. unsigned char pointer mismatch. 2000-06-24 06:31:51 +00:00
Ted Lemon
4e9f14044f Initialize the dhcp_type_host type definition. 2000-06-12 20:25:37 +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
007e3ee4df Rework DHCP lease state handling to be compatible with failover protocol. 2000-06-02 21:27:21 +00:00
Ted Lemon
20916cae75 - Fix all the OMAPI objects in the DHCP server and client that weren't
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
  functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
4bd8800e89 Fix compilation errors introduced in the last set of checkins. 2000-01-26 14:56:18 +00:00
Ted Lemon
502e9f89ce Support scoping. 2000-01-25 01:43:48 +00:00
Ted Lemon
301453ab5b - Get rid of ddns_rev_name and ddns_fwd_name.
- Add extra arg to parse_executable_statements.
2000-01-08 01:49:36 +00:00
Ted Lemon
180b8f2b01 Support new struct hardware. 2000-01-05 18:22:58 +00:00
Ted Lemon
81694b6cc0 Clean up failover-specific code. 1999-11-23 22:24:31 +00:00
Ted Lemon
d9eefc5dec Mass commit for Brian Murrell. 1999-11-20 18:36:32 +00:00
Ted Lemon
1edfbf5e5e Add failover objects. 1999-11-14 00:39:33 +00:00
Ted Lemon
63c8c1dcf9 Allow for deleted host declarations in host hash. 1999-10-25 01:56:38 +00:00
Ted Lemon
0d124b6664 Send lease start and end time (Brian Murrell). 1999-10-15 12:34:18 +00:00
Ted Lemon
c7775a73f6 - Don't try to return values that aren't present (and thus dump core).
- Fix ordering of a series of conditionals involved in looking up
  hosts (Brian Murrell).
- Add debugging messages when adding and removing hosts (Brian Murrell).
1999-10-14 18:30:52 +00:00
Ted Lemon
6a4c4be871 Seperate public and private object declarations. 1999-10-08 03:43:15 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
77a5f87162 Fix up char * -> unsigned char * mismatches. 1999-10-07 02:14:10 +00:00
Ted Lemon
b74d3c6e68 Simplify the conditionals in the previous code. 1999-10-06 19:17:44 +00:00
Ted Lemon
67c5277066 Fix a glitch in the code to stuff statements into a host's group. 1999-10-06 19:07:58 +00:00
Ted Lemon
ec3a042b5a Allow setting of host-specific statements to supersede root group. 1999-10-05 02:48:09 +00:00
Ted Lemon
dc667e9271 - Fix misdeclaration/misuse of statement parser lose return value.
- Look up hosts by name (from Brian Murrell).
- Make it possible to safely stuff statements into host groups.
1999-10-04 23:53:57 +00:00
Ted Lemon
5a0931a111 - Add support for stuffing statements into groups.
- Return ISC_R_NOKEYS when a lookup fails because no keys were provided.
1999-10-01 03:27:37 +00:00
Ted Lemon
b9626cbb46 - Add support for creating named groups (but not yet for stuffing
values into them).
- Fix key conflict detection so that it's possible to send an update
  that contains more than one key, so long as each key doesn't match a
  different object.
- Fix numerous bugs in various update functions.
1999-09-29 00:00:35 +00:00
Ted Lemon
92ce3f81d1 Return error status when duplicate hostname found instead of bombing. 1999-09-16 05:12:38 +00:00
Ted Lemon
ccce1cc621 Change delete to remove for compatibility with C++ 1999-09-16 04:53:38 +00:00
Ted Lemon
8ac1b7ba2f - Two fixes for pastoes, from Brian Murrell
- Brian's support for looking up hosts without fixed address
  declarations by looking up their leases and then using the
  information in the lease to look up the host declaration.
1999-09-16 00:51:27 +00:00
Ted Lemon
e92653f1ec Bug fixes courtesy of Brian Murrell 1999-09-09 23:53:29 +00:00
Ted Lemon
110d052223 Add delete methods. 1999-09-09 23:33:43 +00:00
Ted Lemon
808db3d367 Fix various bugs. 1999-09-09 21:12:12 +00:00
Ted Lemon
1c5222526f OMAPI interface for ISC DHCP server objects. 1999-09-08 01:36:05 +00:00