Commit 9a33e2d1 authored by Mark Andrews's avatar Mark Andrews
Browse files

I1965. [func] Suppress spurious "recusion requested but not

                        available" warning with 'dig +qr'. [RT #15780].
parent 1b06367c
1965. [func] Suppress spurious "recusion requested but not
available" warning with 'dig +qr'. [RT #15780].
1964. [func] Seperate out MX and SRV to CNAME checks. [RT #15723]
1963. [port] Tru64 4.0E doesn't support send() and recv().
......
......@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.208 2005/10/14 01:14:06 marka Exp $ */
/* $Id: dig.c,v 1.209 2006/01/06 00:13:30 marka Exp $ */
/*! \file */
......@@ -491,7 +491,8 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
msg->counts[DNS_SECTION_AUTHORITY],
msg->counts[DNS_SECTION_ADDITIONAL]);
if ((msg->flags & DNS_MESSAGEFLAG_RD) != 0 &&
if (msg != query->lookup->sendmsg &&
(msg->flags & DNS_MESSAGEFLAG_RD) != 0 &&
(msg->flags & DNS_MESSAGEFLAG_RA) == 0)
printf(";; WARNING: recusion requested "
"but not available\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment