From: Mark Andrews Date: Tue, 5 Mar 2002 00:06:02 +0000 (+0000) Subject: 1218. [bug] Named incorrectlty SERVFAIL rather than NOTAUTH on X-Git-Tag: v9.0.1^2~8484 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=95b604c5e972a5e9eb713bf45cf0b2d9b98da27e;p=thirdparty%2Fbind9.git 1218. [bug] Named incorrectlty SERVFAIL rather than NOTAUTH on when there was a BADTIME error. [RT #2519] --- diff --git a/CHANGES b/CHANGES index f7f9673859a..50b6c49e4df 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +1218. [bug] Named incorrectlty SERVFAIL rather than NOTAUTH on + when there was a BADTIME error. [RT #2519] + 1217. [func] Report locations of previous key definition when a duplicate is detected. diff --git a/lib/dns/result.c b/lib/dns/result.c index 6e9e1f68580..6269c81f121 100644 --- a/lib/dns/result.c +++ b/lib/dns/result.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: result.c,v 1.95 2002/02/20 03:34:21 marka Exp $ */ +/* $Id: result.c,v 1.96 2002/03/05 00:06:02 marka Exp $ */ #include @@ -233,6 +233,7 @@ dns_result_torcode(isc_result_t result) { rcode = dns_rcode_refused; break; case DNS_R_TSIGVERIFYFAILURE: + case DNS_R_CLOCKSKEW: rcode = dns_rcode_notauth; break; default: