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

1390 Commits

Author SHA1 Message Date
Ted Lemon
2cc0151c5a - Rototill function prototypes. 1999-07-31 18:07:16 +00:00
Ted Lemon
5e9dc8036e Update version. 1999-07-31 18:06:32 +00:00
Ted Lemon
fbb73eae7b - Update prototypes in universe structure. 1999-07-31 18:05:54 +00:00
Ted Lemon
f3e8ea32d3 - Make a place to hang the incoming packet in the lease_state structure.
- Rototill function prototypes.
1999-07-31 18:05:21 +00:00
Ted Lemon
4038ec529e - Regularize expression evaluation calls so that they are all passed a pointer
to the incoming packet, if any, the current lease, if any, the parsed
  incoming options, and the in-scope configuration file options.
- Incoming packets are now reference counted, so that the callee can save
  them for later expression evaluation (e.g., in dhcp_reply).
1999-07-31 18:03:55 +00:00
Ted Lemon
8cdb80a772 - Fix up expression evaluation calls. 1999-07-31 17:57:36 +00:00
Ted Lemon
fd6f298fc5 error -> log_fatal (again!) 1999-07-31 17:56:53 +00:00
Ted Lemon
fc2c6afb16 - Fix up calls to evaluate_boolean_expression. 1999-07-31 17:56:09 +00:00
Ted Lemon
5fc9b0512c - Make converted_length and binary_to_ascii work correctly. 1999-07-31 17:54:06 +00:00
Ted Lemon
7109aa9521 - Fix several cases where a refcounted memory allocator would set the pointer
to null and then fail to return immediately, possibly causing a core dump.
  Now, the pointer will be set to null and it will return a failure status
  immediately.
- Make packet allocator reference counted, and keep a cache of packet
  structures so that allocating and freeing them will be cheap.
1999-07-31 17:53:05 +00:00
Ted Lemon
0852a27f32 - Fix two stupid bugs that caused filename and server_name not to be usable
by the client.
- Rototill expression evaluation calls.
1999-07-31 17:50:41 +00:00
Ted Lemon
c87fcde1a7 Further clarify Linux CONFIG_PACKET/CONFIG_FILTER README. 1999-07-31 17:49:03 +00:00
Ted Lemon
a3e296e4e1 config-option is a data expression (from Brian Murrell). 1999-07-21 20:58:17 +00:00
Ted Lemon
e23f8b44f6 Add seperate implementation for config-option. 1999-07-21 19:26:55 +00:00
Ted Lemon
9e0e9ed858 - Remove NUL from end of host-name option after checking it, so that
host-name can reliably be used in concat expressions.

  (From Brian Murrell)
1999-07-21 14:30:28 +00:00
Ted Lemon
4f4d982cbd - Enhance dns-update evaluation.
- Fix up debugging messages.

  (From Brian Murrell)
1999-07-21 14:28:57 +00:00
Ted Lemon
2cd60a52cc More documentation for classes. 1999-07-20 18:00:40 +00:00
Ted Lemon
ad1a6484c1 - Add unknown-clients as an alternative to unknown clients in permit
statements.
1999-07-20 18:00:20 +00:00
Ted Lemon
6f14d4bd58 Better document the data_string structure. 1999-07-20 17:59:14 +00:00
Ted Lemon
33500c7d52 - Undo a mistaken change to parse_if_statement that caused else clauses to
be misparsed.
- Set the type of the on statement.
- Set event types correctly when parsing on statements.
1999-07-20 17:58:33 +00:00
Ted Lemon
392208d382 Fix another bug that Brian cleverly tracked down... :') 1999-07-20 13:24:39 +00:00
Ted Lemon
0da615428f Recognize pick-first-value and host-decl-name as data expressions. 1999-07-19 20:38:59 +00:00
Ted Lemon
a645ee2d9a Document pseudo-interfaces. 1999-07-19 20:11:41 +00:00
Ted Lemon
0acdc2286c A bug fix from Brian Murrell for a problem in host-decl-name. 1999-07-19 20:10:52 +00:00
Ted Lemon
aed6cc911a pick-first-value expression was being set up incorrectly. 1999-07-19 20:10:12 +00:00
Ted Lemon
cd31814f68 - Make lease-time a numeric expression, and make dns-update expect ttl to be
numeric.
- Add lease-time expression in a couple of places where it should have been
  mentioned, but wasn't.
1999-07-19 15:35:48 +00:00
Ted Lemon
ba6cb47aa0 - Don't try to deallocate data associated with a partially-parsed statement
if they haven't yet been allocated.
1999-07-19 15:34:33 +00:00
Ted Lemon
71a344775d Intern lease-time token correctly. 1999-07-19 15:32:54 +00:00
Ted Lemon
27b3a58f96 Some more fixes from Brian Murrell. 1999-07-19 13:08:29 +00:00
Ted Lemon
c370c44833 A few tweaks to make lease-time more correct. 1999-07-19 01:17:23 +00:00
Ted Lemon
069e9f4c15 Brian Murrel's latest dns update implementation - more programmability. 1999-07-19 01:15:22 +00:00
Ted Lemon
0f7099d754 Add a section documenting event support. 1999-07-18 19:39:48 +00:00
Ted Lemon
6c8a5472ca Add support for 'on commit' and (partially) 'on release'. 1999-07-18 19:39:14 +00:00
Ted Lemon
26413cf111 Add support for 'on commit'. 1999-07-18 19:38:33 +00:00
Ted Lemon
93454ab028 Add static_lease_dereference prototype. 1999-07-18 19:37:56 +00:00
Ted Lemon
7c72d02a7f Conditionalize use of snprintf. 1999-07-18 19:37:23 +00:00
Ted Lemon
e9b754bfc3 Document the lease-time, host-decl-name and pick-first-value functions. 1999-07-18 19:36:50 +00:00
Ted Lemon
fb27449181 Update the credits for the Dynamic DNS support. 1999-07-18 19:35:37 +00:00
Ted Lemon
36707e4613 Make bind library inclusion more configurable. 1999-07-18 19:35:02 +00:00
Ted Lemon
d938be7b63 When dereferencing a statement, dereference anything it references too. 1999-07-17 17:59:24 +00:00
Ted Lemon
4a213a5f11 Fix statement parsing calls. 1999-07-17 17:59:02 +00:00
Ted Lemon
8ad8181846 Fix a leftover thinko in the statement copy support code. 1999-07-17 15:52:20 +00:00
Ted Lemon
79a65726f0 Massive rototill to support some new DDNS features. 1999-07-16 21:34:14 +00:00
Ted Lemon
343729b9b1 Fix some silly mistakes in Linux versioning update. 1999-07-13 18:32:34 +00:00
Ted Lemon
3175ee907c Changes to make builds work on HP-UX with ANSI compiler. 1999-07-13 18:00:22 +00:00
Ted Lemon
6057415f79 - For Linux, compute major and minor version instead of doing pattern
matching, and substitute it in the Makefile.
1999-07-13 17:58:43 +00:00
Ted Lemon
498eae9150 Add a more informative message to the interface/declaration complaint. 1999-07-13 12:58:03 +00:00
Ted Lemon
4e2bf4f725 Parse ddns state in leases even if DDNS support is not compiled in. 1999-07-12 22:44:16 +00:00
Ted Lemon
44e8c8bea2 Get host-name from packet, not from server configuration. 1999-07-12 22:43:08 +00:00
Ted Lemon
2aa05628df Documentation for anonymous CVS 1999-07-07 19:13:24 +00:00