diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index 88c07897..9b6570b1 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=26.5.3 -PKG_RELEASE:=110 +PKG_RELEASE:=111 PKG_PO_VERSION:=$(PKG_VERSION) PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall/luasrc/passwall/util_xray.lua b/luci-app-passwall/luasrc/passwall/util_xray.lua index 925466d3..074cfb51 100644 --- a/luci-app-passwall/luasrc/passwall/util_xray.lua +++ b/luci-app-passwall/luasrc/passwall/util_xray.lua @@ -1668,7 +1668,15 @@ function gen_config(var) protocol = "dns", settings = { nonIPQuery = (api.compare_versions(xray_version, "<", "26.4.25")) and "reject" or nil, -- Todo is to remove it - rules = (api.compare_versions(xray_version, ">", "26.4.17")) and {{ action = "hijack" }} or nil + rules = (api.compare_versions(xray_version, ">", "26.4.17")) and { + { + action = "hijack", + qtype = "1,28" + }, + { + action = "reject" + } + } or nil } })