Commit c71f625e authored by Bob Halley's avatar Bob Halley
Browse files

add DNS_R_UNKNOWN

parent 8952830c
......@@ -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 *
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment