2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-22 18:07:25 +00:00

62 Commits

Author SHA1 Message Date
Thomas Markwalder
7da1ac2bc6 [master] Corrected static analysis issue in common/execute.c
Merged in rt40374.
2015-09-08 15:06:03 -04:00
Shawn Routhier
45c332f037 [master] Add code to parse a vendor option as directed by the user.
Add code to parse a vendor option.  It is structured as an action
in the config language.  When the statement is executed it attempts
to find a vendor option in the packet and a vendor option space
specified by the admin for use with that packet.  It then calls
the proper parse routine to do the parsing.
2015-07-13 12:06:50 -07:00
Shawn Routhier
edad9be5cd [master] Remove vix.com and nominum.com
Remove old information from copyrights and
    man pages.
2014-01-26 10:52:15 -08:00
Shawn Routhier
a7341359cc -n [master]
[rt27912]
    Add code to suppor on {commit expiry release} statements for DHCPv6.
    There are several pieces to this change
    1) Add space in the iasubopt structure to hold the statement pointers
    2) Update the execute code to fill in the structures as necessary
    3) Execute the statements when appropriate
    Many of the changes in the non-v6 code are to pass the v6 structures
    around to the execute code.
2013-08-27 13:40:47 -07:00
Mark Andrews
dc9d7b08aa - Silence benign static analysis warnings.
[ISC-Bugs #33428]
2013-05-15 10:49:54 +10:00
Shawn Routhier
0d93c339de [master]
Tidy up some compiler issues in the debug code
[ISC-Bugs #26460]
2012-11-16 17:02:03 -08:00
Shawn Routhier
d289ee683e Remove unnecessary checks in the lease query code and clean up
several compiler issues (some dereferences of NULL and treating
an int as a boolean).
[ISC-Bugs #26203]
2012-04-10 21:26:44 +00:00
Shawn Routhier
a47d63362f Update copyright years 2009-11-24 02:06:57 +00:00
Shawn Routhier
2c85ac9b24 Switch isc urls from http to https and correct sw to services or software
for new web site as appropirate.
2009-07-23 18:52:21 +00:00
David Hankins
66cebfcb89 - ./configure was extended to cover many optional build features, such
as failover, server tracing, debugging, and the execute() command.
  [ISC-Bugs #17678]
2008-02-28 21:21:56 +00:00
Shane Kerr
28868515f6 Code cleanup to remove warnings from "gcc -Wall".
See RT ticket #16988 for more.
2007-07-13 06:43:43 +00:00
David Hankins
706792c9d3 Copyright++ 2007-05-19 19:16:28 +00:00
David Hankins
a512d11b6d - Corrected some situations where variables might be used without being
initialized. [ISC-Bugs #16865]

- Silenced several other compiler warnings. [ISC-Bugs #16865]

- Include the more standard sys/uio.h rather than rely upon other header
  files to include it (fixes a BSDI compile failure). [ISC-Bugs #16865]
2007-05-11 15:50:18 +00:00
Evan Hunt
253c8b6ad1 Change "execute" from numeric expression to executable statement, so
it will not be necessary to use eval(execute(...)) [rt16620]
2007-01-28 23:00:19 +00:00
David Hankins
88cd8aca9e - Merge changes between 3.0.3RC1 and 3.0.4-BETA-3 into HEAD (silence
robie).
2006-02-24 23:16:32 +00:00
David Hankins
98311e4ba9 MASSIVE merge from V3-RELEASE-BRANCH into HEAD. HEAD and V3-RELEASE are
now synced as of tag V3-0-3-BETA-1.
2005-03-17 20:15:29 +00:00
Ted Lemon
a609e69bba sync with branch 2001-08-10 10:50:50 +00:00
Ted Lemon
d758ad8cac Merge changes between 3.0rc7 and 3.0rc8pl2. 2001-06-27 00:31:20 +00:00
Ted Lemon
33454222e7 Add a send statement that behaves the same as the supersede statement. 2001-01-16 23:00:49 +00:00
Ted Lemon
2bf47722e9 Don't make bogus statements a fatal error. 2001-01-03 23:15:33 +00:00
Damien Neil
81beacfb83 Added a case to handle log statements in write_statements(), avoiding
server death when log statements appear in commit or expiry clauses.
2000-12-02 00:04:22 +00:00
Ted Lemon
63b4fbf9ae Pass client state to eval functions. 2000-11-28 22:50:38 +00:00
Ted Lemon
85c14386b8 Use set_option instead of universe -> set_func 2000-10-10 23:22:39 +00:00
Damien Neil
1b234d446f Finished up function call support. 2000-08-28 19:36:39 +00:00
Damien Neil
349c525e5b Fix bug #253, which could cause the server to segfault when setting
a value.
2000-08-23 00:32:46 +00:00
Damien Neil
e7a9c29390 Added log() statement to allow logging from config files. 2000-08-22 21:51:39 +00:00
Ted Lemon
6ceb9118e9 Reference count binding scopes. Align IP headers on output. 2000-07-27 09:03:08 +00:00
Ted Lemon
a75826c624 - Reference expression lists as we walk them, just in case they
get dereferenced.
2000-07-06 22:42:22 +00:00
Ted Lemon
7530a0ab4e Remove obsolete use of now-uninitialized variable. 2000-07-06 10:04:03 +00:00
Ted Lemon
55321a210e Clean up a possible memory smash in the binding code. 2000-06-12 22:22:09 +00:00
Ted Lemon
20916cae75 - Fix all the OMAPI objects in the DHCP server and client that weren't
being correctly reference-counted.
- Make and use object-specific allocators.
- Add reference/dereference support to hash functions and to timeout
  functions.
2000-05-16 23:03:49 +00:00
Ted Lemon
9615e0e6b3 Add debugging. Fix break statement. 2000-04-13 21:48:34 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
08514fb895 Add support for function calls and typed variables. 2000-02-05 18:07:17 +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
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
3dc96064b9 Fix a memory smash. 2000-01-26 17:20:46 +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
f6a30e8d93 Support variable scoping, let, unset, event ganging, eval, new malloc debug. 2000-01-25 01:07:00 +00:00
Ted Lemon
91c82d9fb6 - Add switch, case, default and set statements.
- Allow more than one type in a single on statement.
2000-01-08 01:30:29 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
c9b01dcf9f Fix null pointer dereference. 1999-10-01 03:16:46 +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
8a6dfe4c4b Solaris CC requires break statements at end of switches... 1999-09-15 17:22:52 +00:00
Ted Lemon
e92653f1ec Bug fixes courtesy of Brian Murrell 1999-09-09 23:53:29 +00:00
Ted Lemon
fc2c6afb16 - Fix up calls to evaluate_boolean_expression. 1999-07-31 17:56:09 +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
27b3a58f96 Some more fixes from Brian Murrell. 1999-07-19 13:08:29 +00:00
Ted Lemon
d938be7b63 When dereferencing a statement, dereference anything it references too. 1999-07-17 17:59:24 +00:00