From 771218f9cacfbade2fcf3ab65520e8c473a12a3a Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Mon, 14 Aug 2000 19:17:42 +0000 Subject: [PATCH] when doing an ipv6 reverse lookup, set the query type to PTR --- bin/dig/host.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/dig/host.c b/bin/dig/host.c index 9483f00a2d..1627567869 100644 --- a/bin/dig/host.c +++ b/bin/dig/host.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: host.c,v 1.47 2000/08/14 19:11:03 bwelling Exp $ */ +/* $Id: host.c,v 1.48 2000/08/14 19:17:42 bwelling Exp $ */ #include #include @@ -675,6 +675,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv) { isc_buffer_putuint8(&b, 0); if (result != ISC_R_SUCCESS) show_usage(); + lookup->rdtype = dns_rdatatype_ptr; } else { notv6: strncpy(lookup->textname, hostname, MXNAME);