]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
belated pullup:
authorAndreas Gustafsson <source@isc.org>
Wed, 28 Nov 2001 23:29:13 +0000 (23:29 +0000)
committerAndreas Gustafsson <source@isc.org>
Wed, 28 Nov 2001 23:29:13 +0000 (23:29 +0000)
1123.   [bug]           dig +[no]fail did not match description. [RT #2052]

CHANGES
bin/dig/dighost.c

diff --git a/CHANGES b/CHANGES
index 9f77df844247af64eae7150cfc0b4c0143bd0e7d..258881ae968728a61b3ac64b5bb568eab167b079 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -15,6 +15,9 @@
                        have a TTL of zero as required by RFC2672.
                        [RT #2129]
 
+1123.  [bug]           dig +[no]fail did not match description. [RT #2052]
+
+
        --- 9.2.0 released ---
 
 1134.  [bug]           Multithreaded servers could deadlock in ferror()
index 5bd7037901d689081136e95e691fd2567aecec80..e357b468f15bacb2ebf7d39c33a618f2eb0879a1 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dighost.c,v 1.221.2.7 2001/11/15 01:24:12 marka Exp $ */
+/* $Id: dighost.c,v 1.221.2.8 2001/11/28 23:29:13 gson Exp $ */
 
 /*
  * Notice to programmers:  Do not use this code as an example of how to
@@ -363,7 +363,7 @@ make_empty_lookup(void) {
        looknew->identify = ISC_FALSE;
        looknew->identify_previous_line = ISC_FALSE;
        looknew->ignore = ISC_FALSE;
-       looknew->servfail_stops = ISC_FALSE;
+       looknew->servfail_stops = ISC_TRUE;
        looknew->besteffort = ISC_TRUE;
        looknew->dnssec = ISC_FALSE;
        looknew->udpsize = 0;
@@ -2208,7 +2208,7 @@ recv_done(isc_task_t *task, isc_event_t *event) {
                UNLOCK_LOOKUP;
                return;
        }                       
-       if (msg->rcode == dns_rcode_servfail && l->servfail_stops) {
+       if (msg->rcode == dns_rcode_servfail && !l->servfail_stops) {
                dig_query_t *next = ISC_LIST_NEXT(query, link);
                if (l->current_query == query)
                        l->current_query = NULL;