From: Mark Andrews Date: Mon, 16 Oct 2000 04:08:13 +0000 (+0000) Subject: Add DNS_R_UNEXPECTEDID. X-Git-Tag: v9.0.1^4~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20a313a4581e7f85fb2ce37430a146b3538da841;p=thirdparty%2Fbind9.git Add DNS_R_UNEXPECTEDID. --- diff --git a/lib/dns/include/dns/result.h b/lib/dns/include/dns/result.h index fc746ba775d..fbc01b4783a 100644 --- a/lib/dns/include/dns/result.h +++ b/lib/dns/include/dns/result.h @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: result.h,v 1.67 2000/10/11 17:44:18 mws Exp $ */ +/* $Id: result.h,v 1.68 2000/10/16 04:08:13 marka Exp $ */ #ifndef DNS_RESULT_H #define DNS_RESULT_H 1 @@ -100,9 +100,10 @@ #define DNS_R_NOTINSECURE (ISC_RESULTCLASS_DNS + 61) #define DNS_R_ZONETOOLARGE (ISC_RESULTCLASS_DNS + 62) #define DNS_R_RECOVERABLE (ISC_RESULTCLASS_DNS + 63) -#define DNS_R_UNKNOWNOPT (ISC_RESULTCLASS_DNS + 64) +#define DNS_R_UNKNOWNOPT (ISC_RESULTCLASS_DNS + 64) +#define DNS_R_UNEXPECTEDID (ISC_RESULTCLASS_DNS + 65) -#define DNS_R_NRESULTS 65 /* Number of results */ +#define DNS_R_NRESULTS 66 /* Number of results */ /* * DNS wire format rcodes. diff --git a/lib/dns/result.c b/lib/dns/result.c index 07cd4269b30..c1fc0974432 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.73 2000/10/11 17:44:14 mws Exp $ */ +/* $Id: result.c,v 1.74 2000/10/16 04:08:11 marka Exp $ */ #include @@ -101,8 +101,10 @@ static const char *text[DNS_R_NRESULTS] = { "no valid NXT", /* 60 DNS_R_NOVALIDNXT */ "not insecure", /* 61 DNS_R_NOTINSECURE */ "zone too large", /* 62 DNS_R_ZONETOOLARGE */ - "recoverable error occurred" /* 63 DNS_R_RECOVERABLE */ - "unknown opt attribute record" /* 64 DNS_R_UNKNOWNOPT */ + "recoverable error occurred", /* 63 DNS_R_RECOVERABLE */ + "unknown opt attribute record", /* 64 DNS_R_UNKNOWNOPT */ + + "unexpected message id" /* 65 DNS_R_UNEXPECTEDID */ }; static const char *rcode_text[DNS_R_NRCODERESULTS] = {