]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1352. [bug] dig, host, nslookup when failing back to TCP use the
authorMark Andrews <marka@isc.org>
Fri, 2 Aug 2002 12:49:46 +0000 (12:49 +0000)
committerMark Andrews <marka@isc.org>
Fri, 2 Aug 2002 12:49:46 +0000 (12:49 +0000)
                        current search entry (if any). [RT #3374]

CHANGES
bin/dig/dighost.c

diff --git a/CHANGES b/CHANGES
index 3ce924e4a5eada48d7f95ea2f7b26232c60c7d89..756f33d963f5eda1dc898553ef3d6a63af07ef8c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+1352.  [bug]           dig, host, nslookup when failing back to TCP use the
+                       current search entry (if any). [RT #3374]
+
 1351.  [bug]           lwres_getipnodebyname() returned the wrong name
                        when given a IPv4 literal, af=AF_INET6 and AI_MAPPED
                        was set.
index 348110c34fc2480b299b37ba081dcc1945befad0..27c43af3985533cddc960447f04c7aeed2719f6c 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dighost.c,v 1.246 2002/07/25 05:46:07 marka Exp $ */
+/* $Id: dighost.c,v 1.247 2002/08/02 12:49:46 marka Exp $ */
 
 /*
  * Notice to programmers:  Do not use this code as an example of how to
@@ -2299,6 +2299,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
                printf(";; Truncated, retrying in TCP mode.\n");
                n = requeue_lookup(l, ISC_TRUE);
                n->tcp_mode = ISC_TRUE;
+               n->origin = query->lookup->origin;
                dns_message_destroy(&msg);
                isc_event_free(&event);
                clear_query(query);