From e26c8b550ad1dbd93e81d4baa2b643d2a1e5e624 Mon Sep 17 00:00:00 2001 From: gitea-action Date: Tue, 19 Nov 2024 01:00:20 +0800 Subject: [PATCH] luci-app-passwall2: sync upstream last commit: https://github.com/xiaorouji/openwrt-passwall2/commit/6399abb0da5c2bcd84457b0b568ba6f1a9e8d532 --- luci-app-passwall2/luasrc/passwall2/util_xray.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-passwall2/luasrc/passwall2/util_xray.lua b/luci-app-passwall2/luasrc/passwall2/util_xray.lua index c047c8ec5..121d4d96a 100644 --- a/luci-app-passwall2/luasrc/passwall2/util_xray.lua +++ b/luci-app-passwall2/luasrc/passwall2/util_xray.lua @@ -1363,7 +1363,7 @@ function gen_config(var) end local default_dns_flag = "remote" - if (not COMMON.default_balancer_tag and COMMON.default_balancer_tag) or COMMON.default_outbound_tag == "direct" then + if (not COMMON.default_balancer_tag and not COMMON.default_outbound_tag) or COMMON.default_outbound_tag == "direct" then default_dns_flag = "direct" end