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:
@@ -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));
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user