diff --git a/lib/dns/gen.c b/lib/dns/gen.c index d29c925b12..16dd3dfce7 100644 --- a/lib/dns/gen.c +++ b/lib/dns/gen.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: gen.c,v 1.54 2000/08/01 01:22:24 tale Exp $ */ +/* $Id: gen.c,v 1.55 2000/11/07 23:44:32 bwelling Exp $ */ #include @@ -629,7 +629,7 @@ main(int argc, char **argv) { for (i = 0 ; i <= 255 ; i++) { ttn = &typenames[i]; if (ttn->typename[0] == 0) { - printf("\t{ \"RRTYPE%d\", " + printf("\t{ \"TYPE%d\", " "DNS_RDATATYPEATTR_UNKNOWN" "}%s\n", i, PRINT_COMMA(i)); } else { diff --git a/lib/dns/rdata.c b/lib/dns/rdata.c index 65aba4091a..a35356b02a 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.116 2000/10/31 03:21:57 marka Exp $ */ +/* $Id: rdata.c,v 1.117 2000/11/07 23:44:33 bwelling Exp $ */ #include #include @@ -1114,10 +1114,10 @@ dns_rdatatype_fromtext(dns_rdatatype_t *typep, isc_textregion_t *source) { isc_result_t dns_rdatatype_totext(dns_rdatatype_t type, isc_buffer_t *target) { - char buf[sizeof "RRTYPE4294967296"]; + char buf[sizeof "TYPE4294967296"]; if (type > 255) { - sprintf(buf, "RRTYPE%u", type); + sprintf(buf, "TYPE%u", type); return (str_totext(buf, target)); }