]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Wed, 11 Apr 2001 19:21:32 +0000 (19:21 +0000)
committerAndreas Gustafsson <source@isc.org>
Wed, 11 Apr 2001 19:21:32 +0000 (19:21 +0000)
807.   [bug]           When setting up TCP connections for incoming zone
                        transfers, the transfer-source port was not
                        ignored like it should be.

CHANGES
lib/dns/xfrin.c

diff --git a/CHANGES b/CHANGES
index 0a24f7cb12ab49a649a4be663bad88fe88ddb70b..55e1f12d35f84c1d1ab901cbd621059ca4fbe16f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,8 @@
 
+ 807.  [bug]           When setting up TCP connections for incoming zone
+                       transfers, the transfer-source port was not
+                       ignored like it should be.
+
  804.  [bug]           Attempting to obtain entropy could fail in some
                        situations.  This would be most common on systems
                        with user-space threads. [RT #1131]
index 2f0f124d46886ce40d05e4da9c9eee28944be941..a8a252cc086b652a70069e1b4e0f07ba53eba4b9 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: xfrin.c,v 1.109.2.1 2001/01/09 22:44:30 bwelling Exp $ */
+/* $Id: xfrin.c,v 1.109.2.2 2001/04/11 19:21:32 gson Exp $ */
 
 #include <config.h>
 
@@ -754,6 +754,7 @@ xfrin_create(isc_mem_t *mctx,
        default:
                INSIST(0);
        }
+       isc_sockaddr_setport(&xfr->sourceaddr, 0);
 
        isc_buffer_init(&xfr->qbuffer, xfr->qbuffer_data,
                        sizeof(xfr->qbuffer_data));