mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-17 08:03:44 -04:00
1678. [bug] RRSIG should use TYPEXXXXX for unknown types.
This commit is contained in:
parent
bd390a552a
commit
8650bde812
2 changed files with 5 additions and 3 deletions
2
CHANGES
2
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
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue