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

Dig, et al:

When you have more than 1 nameserver to send queries to,
	send them one at a time with a 1 second wait between transmissions
	instead of just flooding them all out at once.

	Fix bug 348, nslookup crashing when server specified without server
This commit is contained in:
Michael Sawyer
2000-09-21 22:46:39 +00:00
parent 08ad332552
commit f900be2190
4 changed files with 264 additions and 196 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dig.c,v 1.94 2000/09/21 12:25:40 marka Exp $ */
/* $Id: dig.c,v 1.95 2000/09/21 22:46:34 mws Exp $ */
#include <config.h>
#include <stdlib.h>
@@ -346,8 +346,6 @@ printmessage(dig_query_t *query, dns_message_t *msg, isc_boolean_t headers) {
isc_buffer_t *buf = NULL;
unsigned int len = OUTPUTBUF;
UNUSED(query);
debug("printmessage(%s)", headers ? "headers" : "noheaders");
flags = 0;