From 5a727123cb38bfeabb2cc14fa1e85aacddaca1ec Mon Sep 17 00:00:00 2001 From: gitea-action Date: Fri, 13 Dec 2024 10:30:20 +0800 Subject: [PATCH] luci-app-passwall2: sync upstream last commit: https://github.com/xiaorouji/openwrt-passwall2/commit/a5a9bc046c37ac779b1764276e0f5a5edec1bf08 --- luci-app-passwall2/luasrc/passwall2/util_xray.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/luci-app-passwall2/luasrc/passwall2/util_xray.lua b/luci-app-passwall2/luasrc/passwall2/util_xray.lua index c4d1ddb55..b480b16bc 100644 --- a/luci-app-passwall2/luasrc/passwall2/util_xray.lua +++ b/luci-app-passwall2/luasrc/passwall2/util_xray.lua @@ -1180,7 +1180,7 @@ function gen_config(var) end if remote_dns_tcp_server then - _remote_dns.address = "tcp://" .. remote_dns_tcp_server + _remote_dns.address = "tcp://" .. remote_dns_tcp_server .. ":" .. tonumber(remote_dns_tcp_port) or 53 _remote_dns.port = tonumber(remote_dns_tcp_port) or 53 _remote_dns_proto = "tcp" _remote_dns_ip = remote_dns_tcp_server @@ -1740,7 +1740,7 @@ function gen_dns_config(var) end if remote_dns_tcp_server then - _remote_dns.address = "tcp://" .. remote_dns_tcp_server + _remote_dns.address = "tcp://" .. remote_dns_tcp_server .. ":" .. tonumber(remote_dns_tcp_port) or 53 _remote_dns.port = tonumber(remote_dns_tcp_port) or 53 other_type_dns_proto = "tcp"