From 6e077ae73c4e309f7c2a6727cb8462fafc3fbf25 Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Mon, 5 Apr 1999 20:11:30 +0000 Subject: [PATCH] add DNS_R_ZONECUT --- 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 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 *