as well as the number of records.
+1210. [func] "dig axfr" now reports the number of messages
+ as well as the number of records.
+
1209. [port] See if -ldl is required for OpenSSL? [RT #2672]
1208. [bug] Adjusted REQUIRE's in lib/dns/name.c to better
* 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>
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);
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dighost.c,v 1.243 2002/04/19 04:06:53 marka Exp $ */
+/* $Id: dighost.c,v 1.244 2002/05/29 05:31:02 marka Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
query->second_rr_serial = 0;
query->servname = serv->servername;
query->rr_count = 0;
+ query->msg_count = 0;
ISC_LINK_INIT(query, link);
ISC_LIST_INIT(query->recvlist);
ISC_LIST_INIT(query->lengthlist);
* an SOA rr.
*/
+ query->msg_count++;
result = dns_message_firstname(msg, DNS_SECTION_ANSWER);
if (result != ISC_R_SUCCESS) {
puts("; Transfer failed.");
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dig.h,v 1.76 2001/10/04 07:02:28 halley Exp $ */
+/* $Id: dig.h,v 1.77 2002/05/29 05:31:05 marka Exp $ */
#ifndef DIG_H
#define DIG_H
recv_made;
isc_uint32_t first_rr_serial;
isc_uint32_t second_rr_serial;
+ isc_uint32_t msg_count;
isc_uint32_t rr_count;
char *servname;
isc_bufferlist_t sendlist,