Ted Lemon
d642c2a6ac
Get rid of an unnecessary test.
2000-09-01 16:57:44 +00:00
Ted Lemon
b19f2e1c31
Fix two bugs in class parsing.
2000-09-01 00:10:26 +00:00
Ted Lemon
02ca1b45b7
Fix lots of state change problems.
2000-08-31 04:41:10 +00:00
Ted Lemon
0142936f90
Tweak load balance handling.
2000-08-31 04:40:55 +00:00
Ted Lemon
3505ef685d
Update message type requirements.
2000-08-31 04:40:24 +00:00
Ted Lemon
fcbeefb3ba
Move state information common to both peers into a common structure.
2000-08-31 04:40:05 +00:00
Ted Lemon
058159169d
Update failover state keywords.
2000-08-31 04:39:41 +00:00
Damien Neil
1b234d446f
Finished up function call support.
2000-08-28 19:36:39 +00:00
Ted Lemon
bb0b00a5e8
Lots of changes to clean up handling of various failover states.
2000-08-24 18:49:34 +00:00
Ted Lemon
9a092d2e23
POTENTIAL_CONFLICT_NIC -> RESOLUTION_INTERRUPTED.
2000-08-24 18:46:31 +00:00
Ted Lemon
397a692007
Add argument to find_lease.
2000-08-24 18:43:11 +00:00
Ted Lemon
5f0c7be134
- Add a bunch of support for all the funny recovery states.
...
- Clean up existing state machine support.
2000-08-24 18:41:42 +00:00
Ted Lemon
39ae502747
- Do the commit using the newly-computed lease parameters, not the old
...
parameters.
2000-08-15 23:43:02 +00:00
Ted Lemon
b83bf1d157
- Set peer state to potential_conflict when there is no known peer state -
...
this ensures that when a pool is moved from not being a failover pool to
being a failover pool, the two servers sync up their lease databases.
- Dereference old host group next pointer before installing named group.
2000-08-15 22:23:33 +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
Damien Neil
471f5c39d7
Removed a spurious & which was causing attempts to dereference a 0 pointer.
2000-08-12 00:45:40 +00:00
Damien Neil
5893fbc907
Added some typecasts in printf() statements to make -Werror happy.
2000-08-11 01:26:08 +00:00
Damien Neil
8a0dac0b46
Changed printf "%*s" format to "%.*s".
2000-08-08 18:11:22 +00:00
Damien Neil
61f7ecee77
Don't turn on security for OMAPI connections if no OMAPI key is specified.
2000-08-07 20:28:13 +00:00
Damien Neil
49146f3c15
Added authentication support. The tsig_key structure has been renamed
...
to auth_key and moved into libomapi. libomapi now depends on libres,
which contains the data signing routines.
2000-08-03 21:00:41 +00:00
Ted Lemon
6ceb9118e9
Reference count binding scopes. Align IP headers on output.
2000-07-27 09:03:08 +00:00
Ted Lemon
cfa7212d26
Support environment variables to control locations of files.
2000-07-17 20:56:14 +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
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
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
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
8023ece86a
For non-failover pools, always allocate off the free lease list.
2000-06-30 00:48:55 +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
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
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
88dd0d2083
Fix depend target. Don't echo building of links.
2000-06-20 20:29:16 +00:00
Ted Lemon
62452b8ffa
Use mkdep rather than makedepend
2000-06-12 22:25:55 +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