mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04: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:
parent
c855e7170a
commit
fc3ed1dbda
3 changed files with 13 additions and 1 deletions
3
CHANGES
3
CHANGES
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Reference in a new issue