]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Update services/authzone.c
authorWouter Wijngaards <wcawijngaards@users.noreply.github.com>
Mon, 29 Apr 2019 09:23:11 +0000 (11:23 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2019 09:23:11 +0000 (11:23 +0200)
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
services/authzone.c

index cabb00a846aac72bcfc8572ca1c2b4dd1d99cb36..954786a0322968d1f3607dfede0fc5872ea428b8 100644 (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