Update services/authzone.c

Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
This commit is contained in:
Wouter Wijngaards 2019-04-29 11:23:11 +02:00 committed by GitHub
parent 8d2c08befd
commit b57a2f15db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5964,7 +5964,7 @@ xfr_probe_send_probe(struct auth_xfer* xfr, struct module_env* env,
if (auth_name != NULL) {
if (addr.ss_family == AF_INET
&& ntohs(((struct sockaddr_in *)&addr)->sin_port)
== 853)
== env->cfg->ssl_port)
((struct sockaddr_in *)&addr)->sin_port
= htons(53);
else if (addr.ss_family == AF_INET6