]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1697. [bug] xxx-source{,-v6} was not effective when it
authorTatuya JINMEI 神明達哉 <jinmei@isc.org>
Sun, 15 Aug 2004 04:37:38 +0000 (04:37 +0000)
committerTatuya JINMEI 神明達哉 <jinmei@isc.org>
Sun, 15 Aug 2004 04:37:38 +0000 (04:37 +0000)
specified one of listening addresses and a
different port than the listening port. [RT #12257]

CHANGES
lib/dns/dispatch.c

diff --git a/CHANGES b/CHANGES
index 75e439270677f8c5a3a01202dadd9e049c4362cd..61fb7613f20e24601fe5700a7d113e7c24e95c80 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+1697.  [bug]           xxx-source{,-v6} was not effective when it
+                       specified one of listening addresses and a
+                       different port than the listening port. [RT #12257]
+
 1696.  [bug]           dnssec-signzone failed to clean out nodes that
                        consisted of only NSEC and RRSIG records.
                        [RT #12154]
index 718547c77c3fb36fd1b1bdebfc043476fa781b75..7ff8d51286739a4f142ea02adc34836d48f31bd9 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dispatch.c,v 1.118 2004/07/21 00:48:19 marka Exp $ */
+/* $Id: dispatch.c,v 1.119 2004/08/15 04:37:38 jinmei Exp $ */
 
 #include <config.h>
 
@@ -1296,7 +1296,7 @@ local_addr_match(dns_dispatch_t *disp, isc_sockaddr_t *addr) {
        if (result != ISC_R_SUCCESS)
                return (ISC_FALSE);
 
-       return (isc_sockaddr_equal(&disp->local, &sockaddr));
+       return (isc_sockaddr_equal(&sockaddr, addr));
 }
 
 /*