From 95b604c5e972a5e9eb713bf45cf0b2d9b98da27e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 5 Mar 2002 00:06:02 +0000 Subject: [PATCH] 1218. [bug] Named incorrectlty SERVFAIL rather than NOTAUTH on when there was a BADTIME error. [RT #2519] --- CHANGES | 3 +++ lib/dns/result.c | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index f7f9673859..50b6c49e4d 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 6e9e1f6858..6269c81f12 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: