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

index dbfde9b486a8c93a3464d3a474997de2cc3268f8..3f928296e152d33171d0ffcfa879d562846e7be6 100644 (file)
@@ -5971,7 +5971,7 @@ xfr_probe_send_probe(struct auth_xfer* xfr, struct module_env* env,
                        &&  ntohs(((struct sockaddr_in6 *)&addr)->sin6_port)
                            == env->cfg->ssl_port)
                                ((struct sockaddr_in6 *)&addr)->sin6_port
-                                       = htons(env->port);
+                                       = htons(env->cfg->port);
                }
        }