diff --git a/lib/dns/include/dns/result.h b/lib/dns/include/dns/result.h index 706316897b..91452f90e4 100644 --- a/lib/dns/include/dns/result.h +++ b/lib/dns/include/dns/result.h @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: result.h,v 1.59 2000/06/22 21:56:07 tale Exp $ */ +/* $Id: result.h,v 1.60 2000/07/04 03:59:53 marka Exp $ */ #ifndef DNS_RESULT_H #define DNS_RESULT_H 1 @@ -51,7 +51,7 @@ #define DNS_R_EXTRATOKEN (ISC_RESULTCLASS_DNS + 12) #define DNS_R_EXTRADATA (ISC_RESULTCLASS_DNS + 13) #define DNS_R_TEXTTOOLONG (ISC_RESULTCLASS_DNS + 14) -/* 15 is unused */ +#define DNS_R_NOTZONETOP (ISC_RESULTCLASS_DNS + 15) #define DNS_R_SYNTAX (ISC_RESULTCLASS_DNS + 16) #define DNS_R_BADCKSUM (ISC_RESULTCLASS_DNS + 17) #define DNS_R_BADAAAA (ISC_RESULTCLASS_DNS + 18) diff --git a/lib/dns/result.c b/lib/dns/result.c index 7a80dcc133..6a9d9d6fc1 100644 --- a/lib/dns/result.c +++ b/lib/dns/result.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: result.c,v 1.63 2000/06/22 21:54:47 tale Exp $ */ +/* $Id: result.c,v 1.64 2000/07/04 03:59:51 marka Exp $ */ #include @@ -41,7 +41,7 @@ static const char *text[DNS_R_NRESULTS] = { "extra input text", /* 12 */ "extra input data", /* 13 */ "text too long", /* 14 */ - "UNUSED15", /* 15 */ + "not at top of zone", /* 15 */ "syntax error", /* 16 */ "bad checksum", /* 17 */ "bad IPv6 address", /* 18 */ diff --git a/lib/tests/t_api.c b/lib/tests/t_api.c index 200e9cb81e..95a3aa798e 100644 --- a/lib/tests/t_api.c +++ b/lib/tests/t_api.c @@ -15,7 +15,7 @@ * SOFTWARE. */ -/* $Id: t_api.c,v 1.39 2000/06/22 22:00:21 tale Exp $ */ +/* $Id: t_api.c,v 1.40 2000/07/04 03:59:54 marka Exp $ */ #include @@ -620,6 +620,7 @@ struct dns_errormap { { DNS_R_NXRRSET, "DNS_R_NXRRSET" }, { DNS_R_BADDB, "DNS_R_BADDB" }, { DNS_R_ZONECUT, "DNS_R_ZONECUT" }, + { DNS_R_NOTZONETOP, "DNS_R_NOTZONETOP" }, { (isc_result_t)0, NULL } };