2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00
Commit Graph

2321 Commits

Author SHA1 Message Date
Ted Lemon
32a4756333 Initialize the environment rather than using temporary client scripts. 2000-07-20 00:53:24 +00:00
Ted Lemon
cfa7212d26 Support environment variables to control locations of files. 2000-07-17 20:56:14 +00:00
Ted Lemon
47082c658b Enforce proper alignment of packet buffers. 2000-07-17 20:54:12 +00:00
Damien Neil
db4cfe3b09 Changed all uses of omapi_message_allocate() to omapi_message_new(), which
properly initializes the internals of the message object.
2000-07-15 01:59:00 +00:00
Damien Neil
01a4c2a2a9 Tweak object dereferencing: I believe dereferencing object chains were not
being freed correctly.  (This duplicates a change made by Tale in revision
1.8 of the BIND9 object.c.)
2000-07-10 17:05:18 +00:00
Damien Neil
c3064fe0cf Properly initialize 'last' when removing I/O objects: removing the first
one should no longer croak.
2000-07-10 17:03:38 +00:00
Ted Lemon
c1af245e17 - Fix a bug where the first host declaration with a hardware address
wasn't being entered into the database.
2000-07-09 07:00:06 +00:00
Ted Lemon
e501cb0799 Document setting value of parameters through expressions. 2000-07-09 06:49:39 +00:00
Ted Lemon
0a1f401de2 Disable debugging in production code. 2000-07-06 22:45:27 +00:00
Ted Lemon
932d739c4d Update prototypes. 2000-07-06 22:44:57 +00:00
Ted Lemon
b1b044759a - Support a per-type allocator that is called prior to trying dmalloc,
so that objects can maintain free lists.
2000-07-06 22:43:32 +00:00
Ted Lemon
a75826c624 - Reference expression lists as we walk them, just in case they
get dereferenced.
2000-07-06 22:42:22 +00:00
Ted Lemon
d9961d3a68 Maintain a free list of leases if compact leases are being used. 2000-07-06 22:40:27 +00:00
Ted Lemon
0b1e395f13 Adjust arguments to omapi_object_type_register 2000-07-06 22:37:53 +00:00
Ted Lemon
5e3683817d - Fix some bugs in the lease timeout code.
- When transition to FTS_ACTIVE happens, set next state.
- Conditionalize failover-specific code.
2000-07-06 10:27:41 +00:00
Ted Lemon
d8e1567c09 - Redo support for ddns-updates flag.
- Initialize a previously-uninitialized variable.
- Conditionalize some failover-specific code.
2000-07-06 10:22:50 +00:00
Ted Lemon
d73e855da2 Fix handling of client-hostname. 2000-07-06 10:16:54 +00:00
Ted Lemon
301a5b66c7 - Fix parsing of 'next binding state'.
- Conditionalize some failover-specific code.
2000-07-06 10:14:31 +00:00
Ted Lemon
c12f32cd44 Return a result code when we find a cached or predeclared zone. 2000-07-06 10:10:12 +00:00
Ted Lemon
561f93bac6 Disable failover by default. 2000-07-06 10:08:14 +00:00
Ted Lemon
7ea8b20777 Declare lease states in dhcpd.h. 2000-07-06 10:06:21 +00:00
Ted Lemon
7530a0ab4e Remove obsolete use of now-uninitialized variable. 2000-07-06 10:04:03 +00:00
Ted Lemon
0e97ecc852 - Make and and or evaluate only the lhs if the lhs will determine the
outcome of the evaluation.
- Fix debugging code.
2000-07-06 10:00:53 +00:00
Ted Lemon
fcd9651fd7 Add support for arbitrary parenthetical expressions. 2000-07-06 09:57:23 +00:00
Ted Lemon
fd5cbc1eb9 Don't dereference the lease on_expiry pointer if it's been zapped. 2000-07-06 06:26:42 +00:00
Ted Lemon
e73a0769a9 Correctly set lease state when none is specified. 2000-07-06 06:25:07 +00:00
Ted Lemon
7951fc187b Use result code from res_findzonecut. 2000-07-06 06:23:09 +00:00
Ted Lemon
10a19b8c37 Return record count as well as result code. 2000-07-06 06:22:36 +00:00
Ted Lemon
1fbc2371d1 Fix res_findzonecut prototype. 2000-07-06 06:21:50 +00:00
Ted Lemon
6b76288610 Enlarge default hash table size. 2000-07-06 06:21:29 +00:00
Ted Lemon
f0efccee58 Use compact leases by default. 2000-07-06 06:21:08 +00:00
Ted Lemon
875d2b66d8 Update prototypes 2000-07-05 09:15:08 +00:00
Ted Lemon
edbb766799 Get rid of some debugging statements 2000-07-05 09:13:02 +00:00
Ted Lemon
92f240976e - Dereference leases after hashing them.
- When a new lease has a different billing class, use it.
- Sort leases with the same time last in first, to shorten the
  insertion time for large pools.
2000-07-05 07:38:09 +00:00
Ted Lemon
b8f7385928 Clarify the wording on the need for shared-network statements. 2000-07-05 07:34:47 +00:00
Ted Lemon
4346ff54e2 Add prototypical support for writing persistent billing classes. 2000-07-05 07:33:25 +00:00
Ted Lemon
8afe078753 - Give the lease a binding state if it doesn't have one.
- Don't dereference events from parsed lease, since that lease is now
  kept.
2000-07-05 07:32:13 +00:00
Ted Lemon
7cec271f9a Use object free routine if provided. 2000-07-05 07:29:56 +00:00
Ted Lemon
233b79e154 Add name server result codes. 2000-07-05 07:28:46 +00:00
Ted Lemon
2ca7f8e68f Update prototypes 2000-07-05 07:21:54 +00:00
Ted Lemon
10d2632f7a Have find_dns_zone return a result code. 2000-07-05 07:14:26 +00:00
Ted Lemon
d472b8d0bf Use a cleverer regexp to extract OS minor version number. 2000-07-05 06:39:22 +00:00
Ted Lemon
8023ece86a For non-failover pools, always allocate off the free lease list. 2000-06-30 00:48:55 +00:00
Ted Lemon
b25673ec41 Don't build executables named test. 2000-06-30 00:43:00 +00:00
Ted Lemon
6bbeb85aa9 Fix a couple of cases where the first host wouldn't be hashed. 2000-06-30 00:40:19 +00:00
Ted Lemon
477e97ddd3 Fix some debugging code so it compiles on Solaris. 2000-06-29 20:07:00 +00:00
Ted Lemon
4f9e9f47a9 Put some extra paranoia in logging subroutines. 2000-06-29 20:05:18 +00:00
Ted Lemon
b662406a75 Add support for gcc2-free BSD/os 4.1. 2000-06-29 20:04:18 +00:00
Ted Lemon
00c272ee8b Fix another signed vs. unsigned char pointer issue. 2000-06-29 20:02:50 +00:00
Ted Lemon
c79ded606f Fix parameters for dynamic bootp lease limits. 2000-06-28 23:35:45 +00:00