2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-25 11:27:31 +00:00

31 Commits

Author SHA1 Message Date
Ted Lemon
f4c340534d Add dhcp_option_lookup and agent_option_lookup functions. 1998-04-19 23:19:14 +00:00
Ted Lemon
6f76b6ac67 Allow for null trees. 1998-04-09 04:31:59 +00:00
Ted Lemon
0a98d49899 If client sends a packet with a larger option buffer than allowed in the standard, use the same size option buffer. 1998-03-17 06:12:17 +00:00
Ted Lemon
a7822eac77 Declare arguments that can be promoted so that the compiler's behaviour doesn't change depending on whether or not it follows ANSI. Fix signed vs. unsigned char discrepencies. 1998-03-16 06:19:46 +00:00
Ted Lemon
81477e9101 Parse agent options specially. Pack agent options into outgoing messages if supplied. Allow caller to pass dhcp_max_message_size into cons_options if the original packet is no longer available. 1998-02-06 01:18:33 +00:00
Ted Lemon
eb0a9b2a16 Only use 64-byte option buffer for BOOTP packets 1997-09-16 18:15:25 +00:00
Ted Lemon
a9a9b7f151 Add emit_quotes qualifier to pretty_print_option, so that we don't get extra quotes when emitting strings into configuration scripts 1997-06-02 22:32:05 +00:00
Ted Lemon
00294c5604 Let bootp() check for correct type of packet 1997-05-09 08:07:09 +00:00
Ted Lemon
17f4dab73c Options whose format is X now print as colon-seperated hex, so that pretty_print output can be parsed. do_packet() moved here from dispatch.c 1997-03-06 06:55:06 +00:00
Ted Lemon
171c47a6cc pretty_print_options now optionally seperates array elements with comma, and now encloses text strings in quotes 1997-02-22 08:32:05 +00:00
Ted Lemon
29539f1aa4 Seperate array elements with commas when pretty-printing 1997-02-19 10:52:14 +00:00
Ted Lemon
a4cb16cab9 Change calling conventions for cons_options so that DHCP client doesn't have to dummy up a packet 1997-02-18 14:28:54 +00:00
Ted Lemon
c34fcd388b Notice if client is NUL-terminating strings, and if it is, NUL-terminate them back. 1996-09-11 05:52:18 +00:00
Ted Lemon
67bb0d2402 Fix printf warnings 1996-09-05 23:57:33 +00:00
Ted Lemon
898bc0487d Fix printf prototypes (again) 1996-08-27 09:52:46 +00:00
Ted Lemon
db910847a2 Fix printf formats 1996-06-24 20:36:10 +00:00
Ted Lemon
97accb10bd Option buffer length miscalculated 1996-06-12 23:50:44 +00:00
Ted Lemon
bd38ac0631 Fix off-by-one error on option expansion allocation 1996-06-12 04:08:11 +00:00
Ted Lemon
0fe8b9ccd3 Delete unused automatic variables 1996-06-04 19:12:36 +00:00
Ted Lemon
a8b53b4220 Various user-provided patches 1996-03-16 17:50:30 +00:00
Ted Lemon
1358b87447 Keep a persistent database of leases 1996-03-02 05:13:36 +00:00
Ted Lemon
1a74d33bdc replace cons_option implementation with something simpler. 1996-03-01 00:44:38 +00:00
Ted Lemon
a3e52198fc Fix buffer length calculations; always put mandatory options at the beginning of the priority list; use stored_length to figure out whether an option has been stored; calculate buffer length in a more reasonable place; partially complete rewrite of cons_options 1996-02-29 18:32:06 +00:00
Ted Lemon
445b21f78c Change test for whether an option has been stored; always terminate the buffer with END and then PAD. 1996-02-26 09:32:08 +00:00
Ted Lemon
98dd66895c Zap debugging statements 1996-02-26 01:57:51 +00:00
Ted Lemon
685963dcf4 Incremental changes to support DHCP protocol 1996-02-21 15:16:18 +00:00
Ted Lemon
97ca16995f Intermediate changes to support actual DHCP protocol engine 1996-02-21 12:11:09 +00:00
Ted Lemon
6c6d59281e *** empty log message *** 1996-02-11 00:01:46 +00:00
Ted Lemon
9582172964 Fixed many option bugs; added client for testing 1996-02-07 22:43:54 +00:00
Ted Lemon
089fb364df More portable internet addresses; fix endian bug; fix parser bugs 1996-02-06 20:25:56 +00:00
Ted Lemon
d7837182d3 DHCP Server Daemon 1995-11-29 07:40:04 +00:00