]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Reviewed by: gson@nominum.com
authorMark Andrews <marka@isc.org>
Tue, 23 Apr 2002 01:53:53 +0000 (01:53 +0000)
committerMark Andrews <marka@isc.org>
Tue, 23 Apr 2002 01:53:53 +0000 (01:53 +0000)
1244.   [bug]           Receiving a TCP message from a blackhole address would
                        prevent further messages being received over that
                        interface.

CHANGES
bin/named/client.c

diff --git a/CHANGES b/CHANGES
index f2379a1e164acc2b1b309f1e4d39fefe6ee27982..a5d4672ce68e5950a3629d01a6598f3f4475e3be 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,6 +1,10 @@
 1271.  [port]          win32: a make file contained absolute version specific
                        references.
 
+1244.  [bug]           Receiving a TCP message from a blackhole address would
+                       prevent further messages being received over that
+                       interface.
+
 1178.  [bug]           Follow and cache (if appropriate) A6 and other
                        data chains to completion in the additional section.
 
index 89d3b39bbd06252e5cd2d4a02927bcca95ef5f84..78c07bb61b5280ce4c7f440ca58333865074e169 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: client.c,v 1.176.2.10 2002/02/08 03:57:07 marka Exp $ */
+/* $Id: client.c,v 1.176.2.11 2002/04/23 01:53:53 marka Exp $ */
 
 #include <config.h>
 
@@ -1727,6 +1727,8 @@ client_newconn(isc_task_t *task, isc_event_t *event) {
                        ns_client_log(client, DNS_LOGCATEGORY_SECURITY,
                                      NS_LOGMODULE_CLIENT, ISC_LOG_DEBUG(10),
                                      "blackholed connection attempt");
+                       client->newstate = NS_CLIENTSTATE_READY;
+                       (void)exit_check(client);
                        goto freeevent;
                }