From: Mark Andrews Date: Fri, 1 Jul 2005 03:28:42 +0000 (+0000) Subject: 1892. [bug] dnssec-signzone, dnssec-keygen: handle negative debug X-Git-Tag: v9.2.6b1~43^2~77 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=7c386b0c3194aa18089c6fa2e9856b576ec99c81;p=thirdparty%2Fbind9.git 1892. [bug] dnssec-signzone, dnssec-keygen: handle negative debug levels. [RT #14962] --- diff --git a/CHANGES b/CHANGES index c47044ce8cb..2eb26e8a45c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1892. [bug] dnssec-signzone, dnssec-keygen: handle negative debug + levels. [RT #14962] + 1891. [func] Limit the number of recursive clients that can be waiting for a single query () to resolve. New options clients-per-query and diff --git a/bin/dnssec/dnssectool.c b/bin/dnssec/dnssectool.c index 19a2e592dbe..18022c03c26 100644 --- a/bin/dnssec/dnssectool.c +++ b/bin/dnssec/dnssectool.c @@ -15,7 +15,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dnssectool.c,v 1.42 2005/04/29 00:22:25 marka Exp $ */ +/* $Id: dnssectool.c,v 1.43 2005/07/01 03:28:42 marka Exp $ */ /*! \file */ @@ -151,6 +151,8 @@ setup_logging(int verbose, isc_mem_t *mctx, isc_log_t **logp) { isc_log_t *log = NULL; int level; + if (verbose < 0) + verbose = 0; switch (verbose) { case 0: /* diff --git a/doc/private/branches b/doc/private/branches index 8af79ae0deb..8326afe0e84 100644 --- a/doc/private/branches +++ b/doc/private/branches @@ -42,7 +42,7 @@ rt14933 new rt14951 new rt14953 new rt14959 new -rt14962 new +rt14962 closed rt14963 new rt14965 new rt14967 new