]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
2055. [bug] Missing goto after dropping multicast query.
authorMark Andrews <marka@isc.org>
Fri, 21 Jul 2006 23:44:36 +0000 (23:44 +0000)
committerMark Andrews <marka@isc.org>
Fri, 21 Jul 2006 23:44:36 +0000 (23:44 +0000)
                        [RT #15944]

CHANGES
bin/named/client.c

diff --git a/CHANGES b/CHANGES
index 0910dc942fef13af1e58b9ca9e0045d6f0d711c4..6cb8818259bd16605def5251ff2557665c57cebb 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,6 @@
+2055.  [bug]           Missing goto after dropping multicast query.
+                       [RT #15944]
+
 2054.  [port]          freebsd: do not explicitly link against -lpthread.
                        [RT #16170]
 
index 49b4e2e91de102eeede900a0979cabd711e0427c..1528d8ff2fa8001ab458cabd08adf7fad5ba62b4 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.176.2.22 2006/01/04 23:50:16 marka Exp $ */
+/* $Id: client.c,v 1.176.2.23 2006/07/21 23:44:36 marka Exp $ */
 
 #include <config.h>
 
@@ -1252,9 +1252,8 @@ client_request(isc_task_t *task, isc_event_t *event) {
                ns_client_log(client, NS_LOGCATEGORY_CLIENT,
                              NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(2),
                              "multicast request");
-#if 0
-               ns_client_error(client, DNS_R_REFUSED);
-#endif
+               ns_client_next(client, DNS_R_REFUSED);
+               goto cleanup;
        }
 
        result = dns_message_peekheader(buffer, &id, &flags);