]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Mon, 18 Sep 2000 22:29:36 +0000 (22:29 +0000)
committerAndreas Gustafsson <source@isc.org>
Mon, 18 Sep 2000 22:29:36 +0000 (22:29 +0000)
 473.   [bug]           nsupdate overran the end of the list of name servers
                        when no servers could be reached, typically causing
                        it to print the error message "dns_request_create:
                        not implemented".

CHANGES
bin/nsupdate/nsupdate.c

diff --git a/CHANGES b/CHANGES
index 887af2846125ca15ca33859ae8b015ff919a2074..56e4d2c6613a1686775aaf81ccff9bffb540a4a8 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,9 @@
 
+ 473.  [bug]           nsupdate overran the end of the list of name servers
+                       when no servers could be reached, typically causing 
+                       it to print the error message "dns_request_create:
+                       not implemented".
+
  472.  [bug]           Off-by-one error caused isc_time_add() to sometimes
                        produce invalid time values.
 
index 9ad9cae19407213148ccbf08487944e2c569be29..1c1d762abcaaecf59b181285aa62793e9e826387 100644 (file)
@@ -15,7 +15,7 @@
  * SOFTWARE.
  */
 
-/* $Id: nsupdate.c,v 1.8.2.8 2000/09/18 17:51:38 gson Exp $ */
+/* $Id: nsupdate.c,v 1.8.2.9 2000/09/18 22:29:36 gson Exp $ */
 
 #include <config.h>
 
@@ -1196,7 +1196,7 @@ recvsoa(isc_task_t *task, isc_event_t *event) {
                       addrbuf, isc_result_totext(eresult));
                if (userserver != NULL)
                        fatal("Couldn't talk to specified nameserver.");
-               else if (ns_inuse++ >= lwconf->nsnext)
+               else if (++ns_inuse >= lwconf->nsnext)
                        fatal("Couldn't talk to any default nameserver.");
                ddebug("Destroying request [%lx]", request);
                dns_request_destroy(&request);