From a413f94248ceed48a6b7aaa2fa1d2401fb8b9f30 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Tue, 26 Oct 1999 19:30:23 +0000 Subject: [PATCH] invalid tkey result code --- lib/dns/include/dns/result.h | 4 +--- lib/dns/result.c | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/dns/include/dns/result.h b/lib/dns/include/dns/result.h index 82e321ab19..a0bfdd0e00 100644 --- a/lib/dns/include/dns/result.h +++ b/lib/dns/include/dns/result.h @@ -94,9 +94,7 @@ typedef isc_result_t dns_result_t; /* XXXRTH for legacy use only */ #define DNS_R_INVALIDTIME (ISC_RESULTCLASS_DNS + 44) #define DNS_R_EXPECTEDTSIG (ISC_RESULTCLASS_DNS + 45) #define DNS_R_UNEXPECTEDTSIG (ISC_RESULTCLASS_DNS + 46) -/* - * Result code +47 is available. - */ +#define DNS_R_INVALIDTKEY (ISC_RESULTCLASS_DNS + 47) #define DNS_R_HINT (ISC_RESULTCLASS_DNS + 48) #define DNS_R_DROP (ISC_RESULTCLASS_DNS + 49) #define DNS_R_NOTLOADED (ISC_RESULTCLASS_DNS + 50) diff --git a/lib/dns/result.c b/lib/dns/result.c index afbc1f1c5d..9c1e13c28c 100644 --- a/lib/dns/result.c +++ b/lib/dns/result.c @@ -74,7 +74,7 @@ static char *text[DNS_R_NRESULTS] = { "invalid time", /* 44 */ "expected a TSIG", /* 45 */ "did not expect a TSIG", /* 46 */ - "", /* 47 */ + "TKEY is unacceptable", /* 47 */ "hint", /* 48 */ "drop", /* 49 */ "zone not loaded", /* 50 */