2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

forward to the view's configured destination port, which may not be 53

This commit is contained in:
Andreas Gustafsson 2000-06-05 21:52:31 +00:00
parent 0a36a0dd9a
commit 31dfecfa8f

View File

@ -508,7 +508,7 @@ configure_view(dns_view_t *view, dns_c_ctx_t *cctx, dns_c_view_t *cview,
goto cleanup;
}
*sa = forwarders->ips[i];
isc_sockaddr_setport(sa, 53);
isc_sockaddr_setport(sa, port);
ISC_LINK_INIT(sa, link);
ISC_LIST_APPEND(addresses, sa, link);
}