2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

69 Commits

Author SHA1 Message Date
Michael Graff
5eab8594b6 Cast arguments for isspace(), isascii(), and other is*() functions to int. 2007-10-01 14:47:35 +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
dd3282251e - Two new operators, ~= and ~~, have been integrated to implement
boolean matches by regular expression (such as may be used in
  class matching statements).  Thanks to a patch by Alexandr S.
  Agranovsky, which underwent slight modification.  [ISC-Bugs #8155]
2007-06-07 15:52:30 +00:00
Evan Hunt
804401cc8e Merge in changes that were needed in 3.1.0 to silence NetBSD compiler
warnings. [rt16907]
2007-05-29 18:11:56 +00:00
David Hankins
706792c9d3 Copyright++ 2007-05-19 19:16:28 +00:00
David Hankins
98bd7ca099 DHCPv6 branch merged to HEAD. 2007-05-08 23:05:22 +00:00
Shane Kerr
c57db45ce9 Spelling fixes. See RT ticket 16513 for details. 2007-01-29 10:25:55 +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
b543fea9d4 - A new common configuration executable statement, execute(), has been
added.  This permits dhcpd or dhclient to execute a named external
  program with command line arguments specified from other configuration
  language.  Thanks to a patch written by Mattias Ronnblom, gotten to us
  via Robin Breathe. [ISC-Bugs #13728]
2006-07-31 22:19:51 +00:00
David Hankins
5e86441636 - A new common (server or client) option, 'db-time-format local;', has
been added which prints the local time in /var/db/dhcpd.leases rather
  than UTC.  Thanks to a patch from Ken Lalonde. [ISC-Bugs #2678]
2006-06-06 16:35:18 +00:00
David Hankins
2727c1cf8f - lcase() and ucase() configuration expressions have been added which adjust
their arguments from upper to lower and lower to upper cases respectively.
  [ISC-Bugs #1597]
2006-05-11 16:31:29 +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
Murray
668c33c74a Sync with V3-RELEASE-BRANCH. Fixes remote root exploit. 2002-04-30 06:18:39 +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
33d1e366db Make print_hw_addr bulletproof. 2001-05-04 01:05:17 +00:00
Ted Lemon
80c897c871 Make things compile if DEBUG is defined. 2001-04-09 00:36:45 +00:00
Ted Lemon
b0b4f89c39 Add a missing else whose absence was causing memory smashes. 2001-03-20 07:26:57 +00:00
Ted Lemon
0efc1180e9 Add quotify functions. 2001-03-15 23:17:28 +00:00
Ted Lemon
84a2288c45 Don't save lease timestamp in database. 2001-02-12 19:46:59 +00:00
Ted Lemon
4cb55919c2 - Print null hardware address as blank, instead of as <null>.
- Use isc_result_totext to print ns update status, now that res_nupdate
  is returning an isc_result_t.
2001-01-16 23:12:47 +00:00
Ted Lemon
27b3dc1d62 Add support for printing NXDOMAIN and YXDOMAIN prerequisites. 2001-01-06 21:32:26 +00:00
Ted Lemon
6d531e7fd2 Add printer for client-state. 2000-11-28 23:18:40 +00:00
Ted Lemon
8e979eb6c4 Make print.c compile with DEBUG (and, coincidentally, make it work better). 2000-10-12 08:59:07 +00:00
Ted Lemon
f01408b861 Fix minor indentation nit. 2000-09-29 20:58:59 +00:00
Damien Neil
a83fe30733 Added binary &|^ operators. 2000-08-30 18:03:00 +00:00
Ted Lemon
49733f31d3 Go back to the BSD license. 2000-03-17 04:00:32 +00:00
Ted Lemon
c1cc0a7153 Generalize binary operator printing and add new binary operators. 2000-03-06 23:19:47 +00:00
Ted Lemon
48af32f4c0 Print function definitions (sort of). 2000-02-15 19:41:32 +00:00
Ted Lemon
f28971d813 Print function calls. 2000-02-05 18:05:45 +00:00
Ted Lemon
e2e4a76e08 Don't forget that pesky ampersand. 2000-02-03 04:43:36 +00:00
Ted Lemon
2d3bd461ae Get rid of double spacing when printing DNS results. 2000-02-03 04:38:08 +00:00
Ted Lemon
b4dc29fdd9 Use r_size, not strlen, to get length of r_data. 2000-02-03 04:31:25 +00:00
Ted Lemon
9458e9aa07 Minor solaris fixes. 2000-02-02 20:01:50 +00:00
Ted Lemon
7e799df19d Support the private resolver. 2000-02-02 07:22:33 +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
e89b6557e8 Use debugging malloc. Fix a few small botches in DNS expression printer. 2000-01-25 01:14:26 +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
5aae163517 Support new struct hardware. Add printers for new DNS functions. 2000-01-05 18:04:46 +00:00
Ted Lemon
d9eefc5dec Mass commit for Brian Murrell. 1999-11-20 18:36:32 +00:00
Ted Lemon
ed0a7998ad Add printer for not_equal expression. 1999-11-14 00:01:08 +00:00
Ted Lemon
b1b7b521fe Get a clean compile with all known gcc warnings. 1999-10-07 06:36:35 +00:00
Ted Lemon
df1ea41160 Fix a stupid bug in const_data printer. 1999-10-01 03:18:33 +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
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
3175ee907c Changes to make builds work on HP-UX with ANSI compiler. 1999-07-13 18:00:22 +00:00
Ted Lemon
0b96b0fe6f Add printer for encapsulate expression. 1999-04-05 16:18:22 +00:00
Ted Lemon
f39b6e0089 Update license. 1999-03-16 05:50:46 +00:00
Ted Lemon
8ae2d59584 Change names of error functions to be more consistent. 1999-02-24 17:56:53 +00:00