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
Ted Lemon
4de4bfcd2c
Correctly quote shell meta-characters.
2000-06-28 23:35:22 +00:00
Ted Lemon
f3a05d7262
Use interface_allocate to allocate command-line interfaces.
2000-06-24 16:13:19 +00:00
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