2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

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]
This commit is contained in:
Tatuya JINMEI 神明達哉
2004-08-15 04:37:38 +00:00
parent c13c404e97
commit 455bb19b5d
2 changed files with 6 additions and 2 deletions

View 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));
}
/*