2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

Add DNS_R_UNEXPECTEDID.

This commit is contained in:
Mark Andrews
2000-10-16 04:08:13 +00:00
parent d39e56173d
commit 20a313a458
2 changed files with 9 additions and 6 deletions

View File

@@ -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.

View File

@@ -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 <config.h>
@@ -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] = {