Ted Lemon
e92653f1ec
Bug fixes courtesy of Brian Murrell
1999-09-09 23:53:29 +00:00
Ted Lemon
1c5d573185
- Add a static operator indicating whether the client's lease is static.
1999-08-01 14:26:57 +00:00
Ted Lemon
b5b7abf8b6
Change behaviour of concat so that any null argument produces a null result.
1999-07-31 23:24:33 +00:00
Ted Lemon
a8a20d8aa2
Flag expr_known as a boolean expression.
1999-07-31 20:23:19 +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
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
4f4d982cbd
- Enhance dns-update evaluation.
...
- Fix up debugging messages.
(From Brian Murrell)
1999-07-21 14:28:57 +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
0acdc2286c
A bug fix from Brian Murrell for a problem in host-decl-name.
1999-07-19 20:10:52 +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
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
79a65726f0
Massive rototill to support some new DDNS features.
1999-07-16 21:34:14 +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
644b841676
Fix some pastos in new expression evaluators.
1999-07-06 17:04:31 +00:00
Ted Lemon
da38df1433
Pervasive changes to support leased_address, reverse and binary_to_ascii.
1999-07-02 20:58:48 +00:00
Ted Lemon
20a767d38a
Add support for expr_encode_int*.
1999-05-27 14:30:00 +00:00
Ted Lemon
10da3e76fb
- Make is_boolean_expression return true for expr_exists.
...
- Conditionalize pointer debug abort on POINTER_DEBUG.
- When using options in expression evaluation, make sure that there are
options to use.
1999-05-07 17:10:38 +00:00
Ted Lemon
f594d52c7e
Use input options for option operand.
1999-04-23 22:22:55 +00:00
Ted Lemon
5ce6b57615
Support expr_known.
1999-04-12 22:11:12 +00:00
Ted Lemon
0f803d34aa
Fix handling of expr_encapsulate.
1999-04-05 19:06:50 +00:00
Ted Lemon
dd6e44a55b
Support encapsulate expression. lookup_func -> get_func.
1999-04-05 16:28:09 +00:00
Ted Lemon
f39b6e0089
Update license.
1999-03-16 05:50:46 +00:00
Ted Lemon
8b252b42ba
- In substring(), return no data instead of a null value if the offset
...
is past the end of the evaluated data.
- For the hardware operator, return a null value if the hardware
length is longer than the chaddr buffer.
1999-03-16 00:48:21 +00:00
Ted Lemon
f11e65c53f
Look options up in packet options, not generated options.
...
Fix data_string_truncate so that if data is shorter than requested
truncation, the length is not increased.
1999-03-10 20:41:29 +00:00
Ted Lemon
4766ef10c0
Don't try to evaluate a null expression in evaluate_option_cache ().
1999-03-09 20:01:56 +00:00
Ted Lemon
8ae2d59584
Change names of error functions to be more consistent.
1999-02-24 17:56:53 +00:00
Ted Lemon
67d7b76dd3
Get rid of obsolete data string reference.
1998-11-09 02:45:02 +00:00
Ted Lemon
5fd5c0a35f
Fix evaluate_boolean_expression_result to actually evaluate a *boolean* expression.
1998-11-06 03:25:17 +00:00
Ted Lemon
78310bee26
Put check_collection() outside of DEBUG_EXPRESSIONS conditional.
1998-11-06 02:43:10 +00:00
Ted Lemon
fd2a15f68e
Pass hostname to dns_host_entry_allocate.
1998-11-06 01:06:16 +00:00
Ted Lemon
cd038e3ef4
Clear the right data buffer. Add missing braces.
1998-11-06 00:13:36 +00:00
Ted Lemon
1d07a807ef
Implement reference-based option cache and expressions.
1998-11-05 18:45:23 +00:00
Ted Lemon
33e712eab3
Update all the names to reflect the unification of expression evaluation and dns lookup evaluation. Add expression evaluator.
1998-06-25 03:10:32 +00:00
Ted Lemon
6f76b6ac67
Allow for null trees.
1998-04-09 04:31:59 +00:00
Ted Lemon
fc28acefff
If there's no h_errno, assume the error is Host Not Found
1997-05-09 08:14:57 +00:00
Ted Lemon
cadbf99218
Put file version in copyright string
1996-08-27 09:55:50 +00:00
Ted Lemon
3b170e0d32
Don't free old DNS buffer if there wasn't one
1996-06-12 23:51:17 +00:00
Ted Lemon
65bf41da72
Add DEBUG_EVAL for tree evaluation debugging
1996-05-22 07:31:09 +00:00
Ted Lemon
e9776a952a
Fix copyright
1996-05-20 00:29:43 +00:00
Ted Lemon
0d37819ae0
Fix up pointer type incompatibility
1996-05-16 07:29: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