2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-28 04:47:40 +00:00

77 Commits

Author SHA1 Message Date
Ted Lemon
800f0de793 Add support for functions, as well as arithmetic operators. 2000-02-15 19:39:48 +00:00
Ted Lemon
9f7050df70 Add support for function calls and typed variables. 2000-02-05 17:45:20 +00:00
Ted Lemon
44fe7220d1 Take advantage of hacked resolver. 2000-02-03 04:31:46 +00:00
Ted Lemon
9458e9aa07 Minor solaris fixes. 2000-02-02 20:01:50 +00:00
Ted Lemon
88c32c8c25 Hack private resolver namespace to avoid link clashes. 2000-02-02 08:01:52 +00:00
Ted Lemon
7e799df19d Support the private resolver. 2000-02-02 07:22:33 +00:00
Ted Lemon
37e365b490 - In reference count history, remember the address where the reference
is stored as well as the address of the thing referenced.
2000-01-27 22:40:55 +00:00
Ted Lemon
5d959a403d res_freeupdrec will free r_dname, so we shouldn't. 2000-01-26 17:22:58 +00:00
Ted Lemon
4bd8800e89 Fix compilation errors introduced in the last set of checkins. 2000-01-26 14:56:18 +00:00
Ted Lemon
4cbc378fc9 Support variable scoping, malloc debug, filename and server-name ops. 2000-01-25 01:16:14 +00:00
Ted Lemon
2e23650878 - Add support for DNS return codes.
- Add support for null, defined and variable reference expressions.
2000-01-08 01:38:52 +00:00
Ted Lemon
4bae15ec3f Handle new DNS expressions. 2000-01-05 18:05:46 +00:00
Ted Lemon
d9eefc5dec Mass commit for Brian Murrell. 1999-11-20 18:36:32 +00:00
Ted Lemon
2b965a4475 Add != operator. 1999-11-03 16:10:46 +00:00
Ted Lemon
cc5bd211bf Add support for an ignore return value to boolean option evaluators. 1999-10-21 02:35:40 +00:00
Ted Lemon
7b4f1c069a Compute arguments to packet operator correctly. 1999-10-19 15:31:40 +00:00
Ted Lemon
06afba54ec Correct printf argument type (Brian Murrell) 1999-10-14 18:00:46 +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
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
1bac8ce59c Pass data strings to nsdeleteA and nsdeletePTR by reference. 1999-10-06 01:35:44 +00:00
Ted Lemon
2dbc95d686 - Fix a bunch of pastos (from Brian Murrell).
- Implement dns-delete (from Brian Murrell).
1999-10-06 01:01:13 +00:00
Ted Lemon
846d7d5441 - Delete dns-fwd-name and dns-rev-name expressions and replace with
updated-dns-rr (rrtype).
1999-10-05 19:43:44 +00:00
Ted Lemon
06a8567cf8 Implement ddns-fwd-name and ddns-rev-name subexpressions. 1999-10-05 19:01:33 +00:00
Ted Lemon
bb27c66f90 exists -> config-option, courtesy of Brian Murrell. 1999-10-04 23:17:37 +00:00
Ted Lemon
b860910b35 Incorporate a bunch of changes from Brian Murrell. 1999-10-04 23:15:43 +00:00
Ted Lemon
e05e0b0b8a - Account for the fact that concat and pick-first-value both use lisp-style
lists, which end in a nil.
1999-09-24 19:04:30 +00:00
Ted Lemon
361c0ac4e8 Print the RHS of the binary operator on the RHS instead of the LHS. 1999-09-22 17:27:01 +00:00
Ted Lemon
fa098be8f9 Implement printing out of expressions so that they can be output to the lease database file and later read back in. 1999-09-22 01:45:57 +00:00
Ted Lemon
0ddb129d9f Type cast fixes for Solaris. 1999-09-16 01:10:19 +00:00
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