]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorMark Andrews <marka@isc.org>
Wed, 19 Sep 2001 02:46:55 +0000 (02:46 +0000)
committerMark Andrews <marka@isc.org>
Wed, 19 Sep 2001 02:46:55 +0000 (02:46 +0000)
1005.   [bug]           Don't copy nonzero RCODEs from request to response.
                        [RT #1765]

CHANGES
bin/named/client.c

diff --git a/CHANGES b/CHANGES
index 5bf7462a9e837db1f9715477878049c84bf08507..bf65cd353c16c0627461bb0b8784b5e3b0b14656 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,7 @@
 
+1005.  [bug]           Don't copy nonzero RCODEs from request to response.
+                       [RT #1765]
+
 1004.  [port]          Deal with recvfrom() returning EHOSTDOWN. [RT #1770]
 
  987.  [bug]           "dig -help" didn't show "+[no]stats".
index 54f7c303797bc6c1db13f9b1547b344933c206f4..0d0b431938422c6d5f5ba8e23c80d204ece63a83 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.136.2.6 2001/05/15 05:15:20 bwelling Exp $ */
+/* $Id: client.c,v 1.136.2.7 2001/09/19 02:46:55 marka Exp $ */
 
 #include <config.h>
 
@@ -1372,6 +1372,8 @@ client_request(isc_task_t *task, isc_event_t *event) {
                goto cleanup_serverlock;
        }
 
+       client->message->rcode = dns_rcode_noerror;
+
        ns_client_log(client, NS_LOGCATEGORY_CLIENT,
                      NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(5),
                      "using view '%s'", view->name);