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

add DNS_R_UNKNOWN

This commit is contained in:
Bob Halley
1998-12-16 01:50:35 +00:00
parent 8952830c4a
commit c71f625e24
2 changed files with 3 additions and 2 deletions

View File

@@ -22,7 +22,6 @@ typedef unsigned int dns_result_t;
#define DNS_R_SUCCESS 0
#define DNS_R_NOMEMORY 1
/* Names */
#define DNS_R_NOSPACE 2
#define DNS_R_LABELTOOLONG 3
#define DNS_R_BADESCAPE 4
@@ -32,8 +31,9 @@ typedef unsigned int dns_result_t;
#define DNS_R_BADDOTTEDQUAD 8
#define DNS_R_UNEXPECTEDEND 9
#define DNS_R_NOTIMPLEMENTED 10
#define DNS_R_UNKNOWN 11
#define DNS_R_LASTENTRY 10 /* Last entry on list. */
#define DNS_R_LASTENTRY 11 /* Last entry on list. */
#define DNS_R_UNEXPECTED 0xFFFFFFFFL

View File

@@ -31,6 +31,7 @@ static char *text_table[DNS_R_LASTENTRY + 1] = {
"bad dotted quad", /* 8 */
"unexpected end of input", /* 9 */
"not implemented", /* 10 */
"unknown class/type", /* 11 */
};
char *