Ted Lemon
c0017c7560
Update the agent option documentation.
2000-10-10 23:21:04 +00:00
Ted Lemon
e929278f0b
Fix up universe initializations, and define vendor_cfg_option global.
2000-10-10 23:09:17 +00:00
Ted Lemon
9030b3137f
Get rid of all the special-case encapsulations.
2000-10-10 23:07:24 +00:00
Ted Lemon
63b935b669
Fix up calls to cons_options.
2000-10-10 23:01:05 +00:00
Ted Lemon
c4403423ed
Add omapi object initializer to object type structure.
2000-10-10 23:00:31 +00:00
Ted Lemon
c509341958
Call object initializer from omapi_object_initialize if there is one.
2000-10-10 22:59:37 +00:00
Ted Lemon
e0ac716a97
Rototill universe struct definition.
2000-10-10 22:57:29 +00:00
Ted Lemon
b3b9cca0cc
Add ENCAPSULATE and VENDOR tokens.
2000-10-10 22:56:53 +00:00
Ted Lemon
432604c33a
Add vendor_space_name to client_config. Lots of prototypes.
2000-10-10 22:56:25 +00:00
Ted Lemon
136d54bfa2
Add defines for Client FQDN option.
2000-10-10 22:54:10 +00:00
Ted Lemon
84864dd8d3
Fix up call to omapi_object_type_register.
2000-10-10 22:53:43 +00:00
Ted Lemon
975bd4642d
- Add some code for testing more potential configuration file errors at
...
parse time, but don't enable it yet.
- Use option_get and option_put rather than universe-specific get_func
and put_func calls.
2000-10-10 22:51:58 +00:00
Ted Lemon
781c0375bf
- Add the FQDN option space.
...
- Add support for encapsulations in option format strings, and use it.
- Standardize the functions that access option universes.
2000-10-10 22:48:20 +00:00
Ted Lemon
962dc4ab09
- Add support for user-defined encapsulations.
...
- Add code to detect impossible or unlikely tests and flag them with
warnings, but don't enable this code until after the 3.0 release.
For example, it would flag a warning on this code:
if (substring (foo, 0, 3) = 01:02:03:04) { ...
because this comparison can never succeed.
2000-10-10 22:45:25 +00:00
Ted Lemon
77956158d4
- Make option spaces stored as linked lists first-class objects.
...
- Use these spaces for the agent option space, fqdn option space and
nwip option space.
- Make encapsulator and decoder for fqdn option space.
- Support the agent option space the way all option spaces are supported
to the extent possibol, rather than special-casing it.
- Add an enumerator function for defined options in an option space.
- Support encapsulated options directly with a format string, rather than
as another special case.
2000-10-10 22:39:47 +00:00
Ted Lemon
e31656de63
Don't compile in Token Ring support if it's not supported.
2000-10-10 22:34:39 +00:00
Ted Lemon
f1242fb40f
Fix up call to omapi_object_type_register.
2000-10-10 22:33:56 +00:00
Ted Lemon
08921fe06c
- Add initializer for interfaces.
...
- Don't register for I/O on interfaces on which we are not listening.
2000-10-10 22:31:41 +00:00
Ted Lemon
ae7bc13a2f
Document encapsulate type and fqdn option space.
2000-10-10 22:29:33 +00:00
Ted Lemon
88179fea29
Undocument check operator.
2000-10-10 22:07:25 +00:00
Ted Lemon
eebf58bc75
Add initializer arg to object type setup calls.
2000-10-10 22:05:53 +00:00
Ted Lemon
52b2c64036
Don't compile in token ring stuff if we don't support it.
2000-10-10 22:00:09 +00:00
Ted Lemon
d6eb6cf6db
Document vendor option space configuration option.
2000-10-10 21:56:55 +00:00
Ted Lemon
c0504523ab
- Write all options spaces to lease file and environment, not just DHCP
...
option space.
2000-10-10 21:50:58 +00:00
Ted Lemon
ce75142f5e
Support client-side vendor option space definitions.
2000-10-10 19:44:39 +00:00
Ted Lemon
f717263951
Add object initializer support. Fix off-by-one bug in host stuffer.
2000-10-10 19:14:37 +00:00
Ted Lemon
9007657d14
Oops, fix a jungian slip in parse code.
2000-10-04 18:47:41 +00:00
Ted Lemon
7d452841d1
Correctly parse unknown-ddd hardware types.
2000-10-03 19:33:37 +00:00
Ted Lemon
8c63dd893f
- Don't return information on the lease that's not present on the lease.
...
- Don't freak out when the client sends back information that's not settable.
2000-10-01 21:46:24 +00:00
Ted Lemon
b85703e41b
Allow return result of ISC_R_UNCHANGED in omapi_update_object.
2000-10-01 21:42:42 +00:00
Ted Lemon
84b0068537
Don't dump core when sending a name/value pair with a null value.
2000-10-01 21:41:34 +00:00
Ted Lemon
3f75c8fa05
Set the remote handle when updating or requesting a refresh of an object.
2000-10-01 21:40:40 +00:00
Ted Lemon
eaa84150fd
Re-apply part of 1.24 that was accidentally voided by 1.25
2000-09-30 01:31:09 +00:00
Ted Lemon
c2722890d6
Might as well have a syntactically correct configuration file.
2000-09-30 01:25:29 +00:00
Ted Lemon
a47105d60d
Fix Linux 2.0 fallback setup bug.
2000-09-30 01:24:55 +00:00
Ted Lemon
208d6314b3
Post-pl6 version number.
2000-09-29 23:14:04 +00:00
Ted Lemon
f48a1902af
Obsolete.
2000-09-29 23:11:31 +00:00
Ted Lemon
0f6045f829
Update changelog and version number.
2000-09-29 22:48:01 +00:00
Ted Lemon
6bbd4fd6ba
Wrap some new debugging code with #ifdef DEBUG.
2000-09-29 22:42:09 +00:00
Ted Lemon
29bd733a58
Get rid of bogus AR declaration.
2000-09-29 22:27:46 +00:00
Ted Lemon
8998f8dff8
Don't print silly error messages
2000-09-29 22:04:35 +00:00
Ted Lemon
f01408b861
Fix minor indentation nit.
2000-09-29 20:58:59 +00:00
Ted Lemon
67a291cfbf
Do better status checking when starting connections.
2000-09-29 20:58:26 +00:00
Ted Lemon
e02a24b9b5
Do better status checking during initialization.
2000-09-29 20:57:59 +00:00
Ted Lemon
f0b827ef34
argv [i], not argv [1]
2000-09-29 20:57:26 +00:00
Ted Lemon
e6e1cb3ddd
Remove incorrect documentation of known/unknown handling.
2000-09-29 20:02:16 +00:00
Ted Lemon
0a10a8df1d
Bounds check the output buffer in do_percentm.
2000-09-29 20:01:49 +00:00
Ted Lemon
723deaee8f
Don't print trailing NUL when printing a text string.
2000-09-29 19:58:24 +00:00
Ted Lemon
36b1ebcf05
Byte-swap incoming integer data.
2000-09-29 18:22:05 +00:00
Ted Lemon
8e775b7b6d
Don't enter leases that don't have subnets.
2000-09-29 18:21:33 +00:00