]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1678. [bug] RRSIG should use TYPEXXXXX for unknown types.
authorMark Andrews <marka@isc.org>
Thu, 24 Jun 2004 00:58:06 +0000 (00:58 +0000)
committerMark Andrews <marka@isc.org>
Thu, 24 Jun 2004 00:58:06 +0000 (00:58 +0000)
CHANGES
lib/dns/rdata/generic/rrsig_46.c

diff --git a/CHANGES b/CHANGES
index ca83090b556b7440b3fc44b0342263186b34b3bf..d57c34d05ca82dd4e727e03a50461b5c02f952c2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1678.  [bug]           RRSIG should use TYPEXXXXX for unknown types.
+
 1677.  [bug]           dig: +aaonly didn't work, +aaflag undocumented.
 
 1674.  [port]          linux: increase buffer size used to scan
index a46be6d7ffa82487759fdc7a212fc59e52130f55..ad4329539832ba935db42adc655c97b72649b4a4 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rrsig_46.c,v 1.4.2.2 2004/03/16 12:38:14 marka Exp $ */
+/* $Id: rrsig_46.c,v 1.4.2.3 2004/06/24 00:58:06 marka Exp $ */
 
 /* Reviewed: Fri Mar 17 09:05:02 PST 2000 by gson */
 
@@ -154,8 +154,8 @@ totext_rrsig(ARGS_TOTEXT) {
        if (dns_rdatatype_isknown(covered) && covered != 0) {
                RETERR(dns_rdatatype_totext(covered, target));
        } else {
-               char buf[sizeof("65535")];
-               sprintf(buf, "%u", covered);
+               char buf[sizeof("TYPE65535")];
+               sprintf(buf, "TYPE%u", covered);
                RETERR(str_totext(buf, target));
        }
        RETERR(str_totext(" ", target));