diff --git a/lib/dns/include/dns/result.h b/lib/dns/include/dns/result.h index 3d12ef4d69..c2f5e5145e 100644 --- a/lib/dns/include/dns/result.h +++ b/lib/dns/include/dns/result.h @@ -68,8 +68,9 @@ typedef unsigned int dns_result_t; #define DNS_R_NXDOMAIN 41 #define DNS_R_NXRDATASET 42 #define DNS_R_BADDB 43 +#define DNS_R_ZONECUT 44 -#define DNS_R_LASTENTRY 43 /* Last entry on list. */ +#define DNS_R_LASTENTRY 44 /* Last entry on list. */ #define DNS_R_UNEXPECTED 0xFFFFFFFFL diff --git a/lib/dns/result.c b/lib/dns/result.c index ccf77cdf1d..b3a02bd1d8 100644 --- a/lib/dns/result.c +++ b/lib/dns/result.c @@ -64,6 +64,7 @@ static char *text_table[DNS_R_LASTENTRY + 1] = { "nxdomain", /* 41 */ "nxrdataset", /* 42 */ "bad database", /* 43 */ + "zonecut", /* 44 */ }; char *