+1469. [func] Log end of outgoing zone transfer at same level
+ as the start of transfer is logged. [RT #4441]
+
1468. [func] Internal zones are no longer counted for
'rndc status'. [RT #4706]
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: xfrout.c,v 1.112 2003/04/17 05:40:44 marka Exp $ */
+/* $Id: xfrout.c,v 1.113 2003/04/22 04:08:54 marka Exp $ */
#include <config.h>
isc_boolean_t many_answers;
int sends; /* Send in progress */
isc_boolean_t shuttingdown;
+ const char *mnemonic; /* Style of transfer */
} xfrout_ctx_t;
static isc_result_t
(format == dns_many_answers) ?
ISC_TRUE : ISC_FALSE,
&xfr));
+ xfr->mnemonic = mnemonic;
stream = NULL;
db = NULL;
ver = NULL;
xfr->many_answers = many_answers,
xfr->sends = 0;
xfr->shuttingdown = ISC_FALSE;
+ xfr->mnemonic = NULL;
/*
* Allocate a temporary buffer for the uncompressed response
sendstream(xfr);
} else {
/* End of zone transfer stream. */
- xfrout_log(xfr, ISC_LOG_DEBUG(6),
- "end of transfer");
+ xfrout_log(xfr, ISC_LOG_INFO, "%s ended", xfr->mnemonic);
ns_client_next(xfr->client, ISC_R_SUCCESS);
xfrout_ctx_destroy(&xfr);
}