From 31dfecfa8f10da2c7acbbbb644b19296467a5ff3 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 5 Jun 2000 21:52:31 +0000 Subject: [PATCH] forward to the view's configured destination port, which may not be 53 --- bin/named/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/named/server.c b/bin/named/server.c index 7761dd31ff..52b62da6c2 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -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); }