mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
Parenthesis error in trace mode.
(To see delegations in +trace, you need to do +trace +authority in dig. Should this be defaulted?)
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dighost.c,v 1.76 2000/07/12 00:22:57 gson Exp $ */
|
/* $Id: dighost.c,v 1.77 2000/07/12 00:42:54 mws Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Notice to programmers: Do not use this code as an example of how to
|
* Notice to programmers: Do not use this code as an example of how to
|
||||||
@@ -1793,11 +1793,11 @@ recv_done(isc_task_t *task, isc_event_t *event) {
|
|||||||
if ((query->lookup->trace)||
|
if ((query->lookup->trace)||
|
||||||
(query->lookup->ns_search_only)) {
|
(query->lookup->ns_search_only)) {
|
||||||
debug("in TRACE code");
|
debug("in TRACE code");
|
||||||
if ((show_details ||
|
if (show_details ||
|
||||||
((dns_message_firstname(msg,
|
(((dns_message_firstname(msg,
|
||||||
DNS_SECTION_ANSWER)
|
DNS_SECTION_ANSWER)
|
||||||
== ISC_R_SUCCESS))) &&
|
== ISC_R_SUCCESS)) &&
|
||||||
!query->lookup->trace_root ) {
|
!query->lookup->trace_root)) {
|
||||||
printmessage(query, msg, ISC_TRUE);
|
printmessage(query, msg, ISC_TRUE);
|
||||||
}
|
}
|
||||||
if ((msg->rcode != 0) &&
|
if ((msg->rcode != 0) &&
|
||||||
|
Reference in New Issue
Block a user