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:
@@ -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
|
||||
|
||||
|
@@ -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 *
|
||||
|
Reference in New Issue
Block a user