Ted Lemon
275082ddad
Support ISC_R_INCOMPLETE for partial connects.
2000-08-31 04:39:18 +00:00
Ted Lemon
8d3aec71d3
Add more prototypes
2000-08-31 04:38:36 +00:00
Damien Neil
a83fe30733
Added binary &|^ operators.
2000-08-30 18:03:00 +00:00
Damien Neil
3c98e80b46
Added binary operators: & | ^.
2000-08-28 21:22:41 +00:00
Damien Neil
1b234d446f
Finished up function call support.
2000-08-28 19:36:39 +00:00
Ted Lemon
06f0ed0687
Really fix a couple of compile warnings on Tru64 5.0
2000-08-25 18:46:20 +00:00
Ted Lemon
b08234e9c7
Fix a couple of compile warnings on Tru64 5.0
2000-08-25 18:28:28 +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
ea2169d422
- Add support for some new states from the 07 draft.
...
- Add a service state, which is required to handle the 'startup' state
and makes a lot of other code outside of failover.c a lot cleaner.
2000-08-24 18:34:45 +00:00
Ted Lemon
c489f07560
Add declarations for all kinds of cool new failover functions.
2000-08-24 18:31:36 +00:00
Ted Lemon
5965f2a0a6
potential-conflict-nic -> resolution_interrupted, per draft-07.
2000-08-24 18:28:38 +00:00
Ted Lemon
732dc81500
potential-conflict-nic -> resolution_interrupted, per draft-07.
2000-08-24 18:20:47 +00:00
Damien Neil
349c525e5b
Fix bug #253 , which could cause the server to segfault when setting
...
a value.
2000-08-23 00:32:46 +00:00
Damien Neil
e7a9c29390
Added log() statement to allow logging from config files.
2000-08-22 21:51:39 +00:00
Damien Neil
2541d05703
Fixes bug #246 .
...
(null or true) is now true, rather than null.
2000-08-22 21:21:54 +00:00
Ted Lemon
d50fff63b1
Use /var/state/dhcp on Linux 2.2.
2000-08-17 19:46:03 +00:00
Ted Lemon
4b63c26ef8
Use unsigned char instead of u_char.
2000-08-17 19:43:04 +00:00
Ted Lemon
a69fc68a1b
Fix a compile warning.
2000-08-17 19:41:48 +00:00
Damien Neil
61b04b0026
Install the ISC header files required to get omapi to work.
2000-08-17 17:39:51 +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
e11a162ff4
Added a number of (#ifdef-guarded) debugging statements.
2000-08-14 21:58:57 +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
5bd0368aa9
To print a non-NUL terminated string, use "%.*s", not "%*s". Fixed.
2000-08-08 18:08:05 +00:00
Damien Neil
c284b6fd1b
The size of the OMAPI group object was being assigned as
...
sizeof(struct group), not sizeof(struct group_object). Fixed.
2000-08-08 18:07:16 +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
2cd44219f4
Changed several variables from char* to const char* to remove warnings.
2000-08-03 23:26:48 +00:00
Damien Neil
58941de4ea
Added authentication support.
2000-08-03 22:45:43 +00:00
Damien Neil
918673bbc6
Remove an unneeded memset() that caused a null-pointer-dereference when
...
you try to create a group object.
2000-08-03 22:41:06 +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
Damien Neil
c62871ba64
Moved hash.c from libdhcp to libomapi, in anticipation of moving the
...
tsig_key structure into libomapi. (tsig_keys are stored in a hashtable,
and libomapi should not depend on libdhcp.)
2000-08-01 22:55:07 +00:00
Damien Neil
c8d531a6f9
Moved convert.c from libdhcp to libomapi. (libomapi should not depend
...
on libdhcp.)
2000-08-01 22:34:36 +00:00
Damien Neil
827ae27071
Fix a bug in buffer_dereference where the buffer refcount was accessed
...
after the buffer was deallocated.
2000-08-01 21:54:01 +00:00
Ted Lemon
6ceb9118e9
Reference count binding scopes. Align IP headers on output.
2000-07-27 09:03:08 +00:00
Ted Lemon
a8c190df76
Fix a pasto in the code to set the broadcast address environment variable.
2000-07-20 03:21:23 +00:00
Ted Lemon
7eae478ed8
Make the "can't bind" error message more helpful.
2000-07-20 03:15:00 +00:00
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