2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

[master] fix +split and +rrcomments with dig +short

4101.	[bug]		dig: the +split and +rrcomments options didn't
			work with +short. [RT #39291]
This commit is contained in:
Evan Hunt
2015-04-15 09:50:07 -07:00
parent c855e7170a
commit fc3ed1dbda
3 changed files with 13 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
4101. [bug] dig: the +split and +rrcomments options didn't
work with +short. [RT #39291]
4100. [bug] Inherited owernames on the line immediately following
a $INCLUDE were not working. [RT #39268]

View File

@@ -344,9 +344,12 @@ say_message(dns_rdata_t *rdata, dig_query_t *query, isc_buffer_t *buf) {
ADD_STRING(buf, " ");
}
if (rrcomments)
styleflags |= DNS_STYLEFLAG_RRCOMMENT;
if (nocrypto)
styleflags |= DNS_STYLEFLAG_NOCRYPTO;
result = dns_rdata_tofmttext(rdata, NULL, styleflags, 0, 60, " ", buf);
result = dns_rdata_tofmttext(rdata, NULL, styleflags, 0,
splitwidth, " ", buf);
if (result == ISC_R_NOSPACE)
return (result);
check_result(result, "dns_rdata_totext");

View File

@@ -587,6 +587,12 @@
cause an assertion failure in mem.c. [RT #38979]
</para>
</listitem>
<listitem>
<para>
Some answer formatting options didn't work correctly with
<command>dig +short</command>. [RT #39291]
</para>
</listitem>
</itemizedlist>
</sect2>
<sect2 id="end_of_life">