Ted Lemon
07dc11f8dc
Add 'deleted' keyword
1999-09-09 23:25:29 +00:00
Ted Lemon
f1da484e59
Fix up the database update code.
1999-09-09 21:03:40 +00:00
Ted Lemon
fb2f48b61e
Update to use OMAPI I/O dispatcher.
1999-09-09 21:02:10 +00:00
Ted Lemon
c172aed00b
Initialize the OMAPI at the top level, not here.
1999-09-09 21:00:46 +00:00
Ted Lemon
be1ee858db
Support 'never' as a possible lease expiry time.
1999-09-08 01:47:46 +00:00
Ted Lemon
dc24669481
Support referring to hosts by name and recording them in the lease database.
1999-09-08 01:44:57 +00:00
Ted Lemon
16be393750
Use OMAPI dispatcher
1999-09-08 01:44:21 +00:00
Ted Lemon
acc2151278
Make interfaces OMAPI objects.
1999-09-08 01:44:08 +00:00
Ted Lemon
e17f38a4db
Make ranlib optional.
1999-09-08 01:43:00 +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
6499fe2748
Document changes to concat.
1999-07-31 21:37:12 +00:00
Ted Lemon
720c82626e
Allow concat to take an arbitrary number of arguments.
1999-07-31 21:35:12 +00:00
Ted Lemon
a8a20d8aa2
Flag expr_known as a boolean expression.
1999-07-31 20:23:19 +00:00
Ted Lemon
3c8a36ab52
Preliminary documentation for the dns-update function, from Brian Murrell.
1999-07-31 18:30:14 +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
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
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
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
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
d938be7b63
When dereferencing a statement, dereference anything it references too.
1999-07-17 17:59:24 +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
3175ee907c
Changes to make builds work on HP-UX with ANSI compiler.
1999-07-13 18:00:22 +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
44e8c8bea2
Get host-name from packet, not from server configuration.
1999-07-12 22:43:08 +00:00
Ted Lemon
f8b6e76081
Regenerate.
1999-07-07 16:36:58 +00:00
Ted Lemon
cdf2e8cb6b
Update calls to evaluate_option_cache. Fix commenting-out.
1999-07-07 15:32:02 +00:00
Ted Lemon
41c74970ca
Apply some nsupdate.c fixes from Brian Murrell.
1999-07-07 15:28:40 +00:00
Ted Lemon
5e6fb153e5
Regularize TOKEN_NOT vs. NOT.
1999-07-06 20:41:25 +00:00
Ted Lemon
8ca01a7ef1
Document binary-to-ascii, leased-address and reverse.
1999-07-06 20:19:40 +00:00
Ted Lemon
644b841676
Fix some pastos in new expression evaluators.
1999-07-06 17:04:31 +00:00
Ted Lemon
eb42f00ec9
Fix some pastos.
1999-07-06 16:57:05 +00:00