Ted Lemon
c936e8c172
- Fix buffer head/tail code.
...
- Correctly handle no more data and remote disconnect.
1999-10-19 15:36:16 +00:00
Ted Lemon
abf550084b
Initialize head of buffers in allocator, just to be sure.
1999-10-19 15:35:16 +00:00
Ted Lemon
88be0390f1
Get rid of broken BUFFER_BYTES_AVAIL macro, replace it with new macros.
1999-10-19 15:33:17 +00:00
Ted Lemon
94bf482e80
Add defines for SV_LEASE_FILE_NAME and SV_PID_FILE_NAME.
1999-10-19 15:32:32 +00:00
Ted Lemon
7b4f1c069a
Compute arguments to packet operator correctly.
1999-10-19 15:31:40 +00:00
Ted Lemon
1a014e0b2d
Add support for lease-file-name and pid-file-name config parameters.
1999-10-19 15:27:27 +00:00
Ted Lemon
b3d594dd31
Fix some more printf arguments.
1999-10-19 15:26:50 +00:00
Ted Lemon
73a4b6e51d
- Make DHCPRELEASE release the lease corresponding to the IP address in
...
all cases, and not release anything if the IP address can't be
determined.
1999-10-15 15:14:31 +00:00
Ted Lemon
0d124b6664
Send lease start and end time (Brian Murrell).
1999-10-15 12:34:18 +00:00
Ted Lemon
c7775a73f6
- Don't try to return values that aren't present (and thus dump core).
...
- Fix ordering of a series of conditionals involved in looking up
hosts (Brian Murrell).
- Add debugging messages when adding and removing hosts (Brian Murrell).
1999-10-14 18:30:52 +00:00
Ted Lemon
309267f056
Set the type of each lease as it is allocated.
1999-10-14 18:27:38 +00:00
Ted Lemon
06feb756af
- Don't try to look up an object if we didn't get a description with which
...
to do the lookup (since this would cause a core dump!).
1999-10-14 18:15:56 +00:00
Ted Lemon
0e603324d7
Take appropriate action when directed to send null data.
1999-10-14 18:09:48 +00:00
Ted Lemon
444dcb2b79
Automatically include result.h
1999-10-14 18:08:06 +00:00
Ted Lemon
e6e9b9e855
Test accessing of leases.
1999-10-14 18:06:56 +00:00
Ted Lemon
29dd6d5741
Add data_string_dereference function.
1999-10-14 18:03:16 +00:00
Ted Lemon
043eb4eaaf
Declaration for data_string_dereference.
1999-10-14 18:03:01 +00:00
Ted Lemon
348beea1c5
Fix some line wrap errors and take out some debugging exits (Brian Murrell)
1999-10-14 18:01:27 +00:00
Ted Lemon
06afba54ec
Correct printf argument type (Brian Murrell)
1999-10-14 18:00:46 +00:00
Ted Lemon
cbc6bf4b97
Correct printf argument type (Brian Murrell)
1999-10-14 17:47:54 +00:00
Ted Lemon
1b541aba32
- Undo an erroneous change that would have caused core dumps in case of
...
programming errors instead of allowing memory leaks.
1999-10-14 17:43:02 +00:00
Ted Lemon
1c0166794d
Correct ordering of log arguments.
1999-10-14 17:40:05 +00:00
Ted Lemon
6f2e946022
Fix a core dump involving incorrect use of evaluate_data_expression.
1999-10-13 16:28:00 +00:00
Ted Lemon
ab58ff49e0
Fix up args to printf-like functions (thanks to Pedro Ribiero).
1999-10-12 16:00:34 +00:00
Ted Lemon
a414e627d8
Add next_expiry pointer to pool structure.
1999-10-09 04:49:41 +00:00
Ted Lemon
05743349e6
Expire all outstanding unexpired leases after loading lease file on startup.
1999-10-08 22:29:52 +00:00
Ted Lemon
e89a5afe91
- Make the error messages generated based on authority more authoritative.
...
- Don't respond to DHCPINFORM messages on subnets for which we are not
authoritative.
1999-10-08 22:21:34 +00:00
Ted Lemon
4bbb2b493b
Implement lease expiry events.
1999-10-08 22:17:41 +00:00
Ted Lemon
013be24d6e
Pass pointer to unsigned long, for portability to 64-bit architectures.
1999-10-08 17:28:09 +00:00
Ted Lemon
a804d24e26
Get rid of u_* declarations for portability.
1999-10-08 17:19:41 +00:00
Ted Lemon
bb404b74d1
- Don't try to process the option buffer if there isn't one, and don't
...
try to process packets that don't at least have the basic BOOTP guts
in them.
1999-10-08 17:08:34 +00:00
Ted Lemon
e9d8afd106
Private definitions for omapip library.
1999-10-08 16:30:55 +00:00
Ted Lemon
6a4c4be871
Seperate public and private object declarations.
1999-10-08 03:43:15 +00:00
Ted Lemon
a3621e23eb
Fix up one mistake from last night's fixes.
1999-10-07 17:00:53 +00:00
Ted Lemon
8ca113391a
Fix a few more machine-specific signed vs. unsigned pointer bufs.
1999-10-07 06:47:50 +00:00
Ted Lemon
e703795db4
Fix some signed/unsigned pointer incompatibilities for Digital Unix.
1999-10-07 06:42:53 +00:00
Ted Lemon
b1b7b521fe
Get a clean compile with all known gcc warnings.
1999-10-07 06:36:35 +00:00
Ted Lemon
77a5f87162
Fix up char * -> unsigned char * mismatches.
1999-10-07 02:14:10 +00:00
Ted Lemon
89619cf93e
Fix comment at end of inclusion protection.
1999-10-06 22:43:32 +00:00
Ted Lemon
a9fbbc8c81
Need explicit newlines in character constants on Digital Unix.
1999-10-06 22:43:14 +00:00
Ted Lemon
b13a7faa31
Expose failover_state enum even if FAILOVER not defined.
1999-10-06 22:41:31 +00:00
Ted Lemon
ef216c04e1
Make clean target clean up test program.
1999-10-06 22:39:11 +00:00
Ted Lemon
c859d3b834
Make Digital Unix C compiler happy.
1999-10-06 22:37:14 +00:00
Ted Lemon
47ebb948de
Use stdarg.h on alpha/osf1.
1999-10-06 20:09:03 +00:00
Ted Lemon
9e7cc56a3d
Fix a stupid bug in the listener object accept routine.
1999-10-06 19:27:21 +00:00
Ted Lemon
d70dcd50c9
Demonstrate stuffing statements into hosts.
1999-10-06 19:23:35 +00:00
Ted Lemon
b74d3c6e68
Simplify the conditionals in the previous code.
1999-10-06 19:17:44 +00:00
Ted Lemon
67c5277066
Fix a glitch in the code to stuff statements into a host's group.
1999-10-06 19:07:58 +00:00
Ted Lemon
1bac8ce59c
Pass data strings to nsdeleteA and nsdeletePTR by reference.
1999-10-06 01:35:44 +00:00
Ted Lemon
91dc2849f8
Prototypes for deleteA and deletePTR subroutines.
1999-10-06 01:35:04 +00:00