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:
@@ -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]
|
||||
|
||||
|
||||
+1
-1
@@ -2792,7 +2792,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 {
|
||||
|
||||
Reference in New Issue
Block a user