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

1210. [func] "dig axfr" now reports the number of messages

as well as the number of records.
This commit is contained in:
Mark Andrews
2002-05-29 05:31:05 +00:00
parent e0c9bf27d5
commit a483e67c4c
4 changed files with 11 additions and 5 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.177 2002/05/22 04:58:29 marka Exp $ */
/* $Id: dig.c,v 1.178 2002/05/29 05:30:59 marka Exp $ */
#include <config.h>
#include <stdlib.h>
@@ -232,8 +232,8 @@ received(int bytes, isc_sockaddr_t *from, dig_query_t *query) {
time(&tnow);
printf(";; WHEN: %s", ctime(&tnow));
if (query->lookup->doing_xfr) {
printf(";; XFR size: %d records\n",
query->rr_count);
printf(";; XFR size: %u records (messages %u)\n",
query->rr_count, query->msg_count);
} else {
printf(";; MSG SIZE rcvd: %d\n", bytes);