diff --git a/lib/dns/include/dns/result.h b/lib/dns/include/dns/result.h index 6954650a4f..dad1a1070c 100644 --- a/lib/dns/include/dns/result.h +++ b/lib/dns/include/dns/result.h @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: result.h,v 1.86 2002/02/20 03:34:40 marka Exp $ */ +/* $Id: result.h,v 1.87 2002/03/08 01:38:57 bwelling Exp $ */ #ifndef DNS_RESULT_H #define DNS_RESULT_H 1 @@ -118,8 +118,9 @@ #define DNS_R_NOVALIDKEY (ISC_RESULTCLASS_DNS + 79) #define DNS_R_OBSOLETE (ISC_RESULTCLASS_DNS + 80) #define DNS_R_FROZEN (ISC_RESULTCLASS_DNS + 81) +#define DNS_R_UNKNOWNFLAG (ISC_RESULTCLASS_DNS + 82) -#define DNS_R_NRESULTS 82 /* Number of results */ +#define DNS_R_NRESULTS 83 /* Number of results */ /* * DNS wire format rcodes. diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index 7e845aa369..665029765f 100644 --- a/lib/dns/rdata.c +++ b/lib/dns/rdata.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: rdata.c,v 1.162 2002/03/05 01:02:06 bwelling Exp $ */ +/* $Id: rdata.c,v 1.163 2002/03/08 01:38:56 bwelling Exp $ */ #include #include @@ -1313,7 +1313,7 @@ dns_keyflags_fromtext(dns_keyflags_t *flagsp, isc_textregion_t *source) break; } if (p->name == NULL) - return (DNS_R_UNKNOWN); + return (DNS_R_UNKNOWNFLAG); value |= p->value; #ifdef notyet if ((mask & p->mask) != 0) diff --git a/lib/dns/result.c b/lib/dns/result.c index 6269c81f12..ca27c34aa8 100644 --- a/lib/dns/result.c +++ b/lib/dns/result.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: result.c,v 1.96 2002/03/05 00:06:02 marka Exp $ */ +/* $Id: result.c,v 1.97 2002/03/08 01:38:54 bwelling Exp $ */ #include @@ -123,7 +123,8 @@ static const char *text[DNS_R_NRESULTS] = { "no valid KEY", /* 79 DNS_R_NOVALIDKEY */ "obsolete", /* 80 DNS_R_OBSOLETE */ - "already frozen" /* 81 DNS_R_FROZEN */ + "already frozen", /* 81 DNS_R_FROZEN */ + "unknown flag" /* 82 DNS_R_UNKNOWNFLAG */ }; static const char *rcode_text[DNS_R_NRCODERESULTS] = {