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

index 629245e210e6ca1fdc09e8c182eaf8e56cd13071..4547ef699b38311157bb2ed4df2c00e6fbe6abdd 100644 (file)
@@ -5969,7 +5969,7 @@ xfr_probe_send_probe(struct auth_xfer* xfr, struct module_env* env,
                                        = htons(env->port);
                        else if (addr.ss_family == AF_INET6
                        &&  ntohs(((struct sockaddr_in6 *)&addr)->sin6_port)
-                           == 853)
+                           == env->cfg->ssl_port)
                                ((struct sockaddr_in6 *)&addr)->sin6_port
                                        = htons(853);
                }