From: Tatuya JINMEI 神明達哉 Date: Sun, 15 Aug 2004 04:37:38 +0000 (+0000) Subject: 1697. [bug] xxx-source{,-v6} was not effective when it X-Git-Tag: v9.2.4rc8~41^2~11 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=455bb19b5dbf5dce6e625349acf5018fc4823adb;p=thirdparty%2Fbind9.git 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] --- diff --git a/CHANGES b/CHANGES index 75e43927067..61fb7613f20 100644 --- 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] diff --git a/lib/dns/dispatch.c b/lib/dns/dispatch.c index 718547c77c3..7ff8d512867 100644 --- a/lib/dns/dispatch.c +++ b/lib/dns/dispatch.c @@ -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 @@ -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)); } /*