2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00
Commit Graph

1480 Commits

Author SHA1 Message Date
Ted Lemon
00763cc18e Log a message if omapi_one_dispatch fails. 1999-10-04 23:14:00 +00:00
Ted Lemon
c79b2d1112 Define directories for installing libraries and includes. 1999-10-04 23:10:30 +00:00
Ted Lemon
27c1be6b2e Solaris /etc/rc.d script for dhcp server. 1999-10-04 23:04:43 +00:00
Ted Lemon
6852db4fc6 RPM desc file for DHCP distribution. 1999-10-04 23:04:21 +00:00
Ted Lemon
5e3960b64a Set hostname from value sent by DHCP server 1999-10-04 23:01:27 +00:00
Ted Lemon
7d7a35faab Adjust dummy db_startup call. 1999-10-01 03:42:47 +00:00
Ted Lemon
d610260fd1 Fix typo. 1999-10-01 03:42:31 +00:00
Ted Lemon
3b4f8a4a12 Adjust to New Parse Regime. 1999-10-01 03:42:12 +00:00
Ted Lemon
35454d8a1a Adjust to the New Parse Regime. Support named groups in lease file. 1999-10-01 03:37:29 +00:00
Ted Lemon
e9ea25d669 Arrange not to free the static requested option array. 1999-10-01 03:34:49 +00:00
Ted Lemon
a6d79ad7fd Fix some glitches in the lexer. 1999-10-01 03:33:44 +00:00
Ted Lemon
5a0931a111 - Add support for stuffing statements into groups.
- Return ISC_R_NOKEYS when a lookup fails because no keys were provided.
1999-10-01 03:27:37 +00:00
Ted Lemon
2c3c24f40b Get rid of dynamic groups garbage and just dump them out of the hash table. 1999-10-01 03:26:45 +00:00
Ted Lemon
8f450cacb8 Implement -T flag. 1999-10-01 03:26:01 +00:00
Ted Lemon
897065dc1e Document -t and -T flags. 1999-10-01 03:25:41 +00:00
Ted Lemon
4164f19682 Fix spelling error. 1999-10-01 03:25:24 +00:00
Ted Lemon
3b7c3de9e8 - Flesh out write_group.
- Allow db_startup to just do a syntax check on the lease file rather
  than actually rewriting it, for the -T flag.
1999-10-01 03:24:59 +00:00
Ted Lemon
3c4358e7d2 - Fix the open lookup so that a result code of NOKEYS does not cause
creates to fail.
1999-10-01 03:23:03 +00:00
Ted Lemon
3989a9e813 Add bad parse and no keys result codes. 1999-10-01 03:21:53 +00:00
Ted Lemon
fde86d2dfc - Add host-specific prototypes.
- Adjust all the parser prototypes for the New Parsing Regime.
1999-10-01 03:21:23 +00:00
Ted Lemon
4577d30cd1 - Give example of creating a group, stuffing statements into it, and
hanging it off of a host declaration.
1999-10-01 03:19:47 +00:00
Ted Lemon
df1ea41160 Fix a stupid bug in const_data printer. 1999-10-01 03:18:33 +00:00
Ted Lemon
4615d4981c - Transmogrify for use with seperate parse structures.
- Support parsing of named groups, and use of named groups within host
  declarations.
1999-10-01 03:17:59 +00:00
Ted Lemon
c9b01dcf9f Fix null pointer dereference. 1999-10-01 03:16:46 +00:00
Ted Lemon
f6f4fcfc34 Modify parse_warn to use a parse structure instead of referencing globals. 1999-10-01 03:16:24 +00:00
Ted Lemon
6f4b5b31e9 - Put all lexer globals into a parse structure.
- Use UNIX I/O instead of stream I/O, and make it possible to just
  hang a buffer off a parse structure and parse out of the buffer with
  no associated file.
1999-10-01 03:13:43 +00:00
Ted Lemon
498d777ea3 Transmogrify for use with seperate parse structures. 1999-10-01 03:11:20 +00:00
Ted Lemon
b9626cbb46 - Add support for creating named groups (but not yet for stuffing
values into them).
- Fix key conflict detection so that it's possible to send an update
  that contains more than one key, so long as each key doesn't match a
  different object.
- Fix numerous bugs in various update functions.
1999-09-29 00:00:35 +00:00
Ted Lemon
e2c5cba215 Move locate_network here, since it's server-specific. 1999-09-28 23:58:17 +00:00
Ted Lemon
daaeeac125 - Add named group support for host declarations.
- Add stub for saving named groups.
- Add a db_printable_len function for seeing if non-NUL-terminated
  strings are plain ASCII, and use it in writing out UIDs for leases
  and hosts.
1999-09-28 23:57:47 +00:00
Ted Lemon
29c35bedcc - Support named groups.
- Support UID keyword in host declaration.
- Support UIDs that are text strings.
1999-09-28 23:55:55 +00:00
Ted Lemon
8b9bc09d4a Build mdb.c 1999-09-28 22:57:34 +00:00
Ted Lemon
7e2757c5f1 Add key conflict result code 1999-09-28 22:57:14 +00:00
Ted Lemon
940ea8ab31 - Declare group object type.
- Declare new functions for named groups.
- Move memory.c declarations to mdb.c.
1999-09-28 22:56:52 +00:00
Ted Lemon
bfacc53fd1 Demonstrate binding named group to host. 1999-09-28 22:55:14 +00:00
Ted Lemon
1ff8f8ea61 Fix up a couple of >80 column lines. 1999-09-28 22:54:56 +00:00
Ted Lemon
7f9399905b - Move server-specific memory database functions (i.e., virtually
everything, if you will pardon the pun) to server/mdb.c.
1999-09-28 22:54:17 +00:00
Ted Lemon
06ae74a60b Integrate memory.c:1.61. 1999-09-28 22:52:50 +00:00
Ted Lemon
ce26120d2c Move locate_network out of common code, since it's server-specific. 1999-09-28 22:50:02 +00:00
Ted Lemon
1bce8ee027 Server in-memory database functions. 1999-09-28 22:49:31 +00:00
Ted Lemon
bfdb842e27 Add dummy for find_subnet(). 1999-09-28 22:49:10 +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
cedac028f1 Fix a potential problem when there are only two leases in a pool. 1999-09-24 19:01:27 +00:00
Ted Lemon
2e96d6e73f When registering the fallback interface, set rfdesc from wfdesc. 1999-09-23 01:15:25 +00:00
Ted Lemon
96d7d13eb6 Allow 'on' statements in lease declarations. 1999-09-22 17:32:04 +00:00
Ted Lemon
ed2529e5bf Get rid of any 'on' statements on a lease before running the in-scope statements. 1999-09-22 17:30:33 +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
011cc20578 Make indent_spaces start the new line. Print a suffix if one is provided. 1999-09-22 17:25:27 +00:00
Ted Lemon
a2e08b0a78 In supersede_lease, replace 'on' statements if new values are provided. 1999-09-22 17:24:11 +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