From 63d1ef9e771b748ca9bf241dfc1f07d3730203fa Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Thu, 7 Oct 1999 19:40:57 +0000 Subject: [PATCH] add DNS_R_DROP --- lib/dns/include/dns/result.h | 3 ++- lib/dns/result.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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] = {