2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 22:05:23 +00:00
Commit Graph

2089 Commits

Author SHA1 Message Date
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
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