diff --git a/lib/dns/include/dns/result.h b/lib/dns/include/dns/result.h index fe7b48a273..27f596a829 100644 --- a/lib/dns/include/dns/result.h +++ b/lib/dns/include/dns/result.h @@ -96,8 +96,9 @@ typedef isc_result_t dns_result_t; /* XXXRTH for legacy use only */ #define DNS_R_UNEXPECTEDTSIG (ISC_RESULTCLASS_DNS + 46) #define DNS_R_NXGLUE (ISC_RESULTCLASS_DNS + 47) #define DNS_R_HINT (ISC_RESULTCLASS_DNS + 48) +#define DNS_R_DROP (ISC_RESULTCLASS_DNS + 49) -#define DNS_R_NRESULTS 49 /* Number of results */ +#define DNS_R_NRESULTS 50 /* Number of results */ /* * DNS wire format rcodes diff --git a/lib/dns/result.c b/lib/dns/result.c index b54d21ed09..d690ad1cbb 100644 --- a/lib/dns/result.c +++ b/lib/dns/result.c @@ -76,6 +76,7 @@ static char *text[DNS_R_NRESULTS] = { "did not expect a TSIG", /* 46 */ "glue does not exist", /* 47 */ "hint", /* 48 */ + "drop", /* 49 */ }; static char *rcode_text[DNS_R_NRCODERESULTS] = {