diff --git a/lib/dns/include/dns/result.h b/lib/dns/include/dns/result.h index e23885d608..01e2cb1628 100644 --- a/lib/dns/include/dns/result.h +++ b/lib/dns/include/dns/result.h @@ -71,8 +71,10 @@ typedef unsigned int dns_result_t; #define DNS_R_ZONECUT 44 #define DNS_R_FORMERR 45 #define DNS_R_BADZONE 46 /* XXX MPA*/ +#define DNS_R_TIMEDOUT 47 +#define DNS_R_CANCELED 48 -#define DNS_R_LASTENTRY 45 /* Last entry on list. */ +#define DNS_R_LASTENTRY 48 /* Last entry on list. */ #define DNS_R_UNEXPECTED 0xFFFFFFFFL diff --git a/lib/dns/result.c b/lib/dns/result.c index 2f02e8d3a0..89357260dc 100644 --- a/lib/dns/result.c +++ b/lib/dns/result.c @@ -66,6 +66,9 @@ static char *text_table[DNS_R_LASTENTRY + 1] = { "bad database", /* 43 */ "zonecut", /* 44 */ "format error in packet", /* 45 */ + "bad zone", /* 46 */ + "timed out", /* 47 */ + "canceled", /* 48 */ }; char *