mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 10:01:15 -04:00
use correct port range
3382. [bug] SOA query from slave used use-v6-udp-ports range, if set, regardless of the address family in use. [RT #24173]
This commit is contained in:
parent
dccd99f383
commit
da35568c71
2 changed files with 5 additions and 1 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
3382. [bug] SOA query from slave used use-v6-udp-ports range,
|
||||
if set, regardless of the address family in use.
|
||||
[RT #24173]
|
||||
|
||||
3381. [contrib] Update queryperf to support more RR types.
|
||||
[RT #30762]
|
||||
|
||||
|
|
|
|||
|
|
@ -2929,7 +2929,7 @@ get_udpsocket(dns_dispatchmgr_t *mgr, dns_dispatch_t *disp,
|
|||
* If no port is specified, we first try to pick up a random
|
||||
* port by ourselves.
|
||||
*/
|
||||
if (isc_sockaddr_pf(&disp->local) == AF_INET) {
|
||||
if (isc_sockaddr_pf(localaddr) == AF_INET) {
|
||||
nports = disp->mgr->nv4ports;
|
||||
ports = disp->mgr->v4ports;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue