From d82cbea9a7662eb2eba6fcb649d87056db47bb59 Mon Sep 17 00:00:00 2001 From: gitea-action Date: Fri, 13 Dec 2024 20:30:16 +0800 Subject: [PATCH] luci-app-passwall: sync upstream last commit: https://github.com/xiaorouji/openwrt-passwall/commit/9f53ba6d3992ad3e54fa13a954e44c7d41b7c4e9 --- luci-app-passwall/luasrc/passwall/util_xray.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/luci-app-passwall/luasrc/passwall/util_xray.lua b/luci-app-passwall/luasrc/passwall/util_xray.lua index 67e473325..d521b5e73 100644 --- a/luci-app-passwall/luasrc/passwall/util_xray.lua +++ b/luci-app-passwall/luasrc/passwall/util_xray.lua @@ -1120,8 +1120,7 @@ function gen_config(var) local _remote_dns = { --_flag = "remote", - address = "tcp://" .. remote_dns_tcp_server, - port = tonumber(remote_dns_tcp_port) + address = "tcp://" .. remote_dns_tcp_server .. ":" .. tonumber(remote_dns_tcp_port) or 53 } local _remote_dns_host