From 4d9122429d0cf7518ce9e6dbfdaccc615c7cd943 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 27 Sep 2023 20:16:12 +0800 Subject: [PATCH] update 2023-09-27 20:16:12 --- luci-app-passwall2/Makefile | 2 +- .../luasrc/model/cbi/passwall2/client/acl_config.lua | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/luci-app-passwall2/Makefile b/luci-app-passwall2/Makefile index dd3cc697..3252150b 100644 --- a/luci-app-passwall2/Makefile +++ b/luci-app-passwall2/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall2 -PKG_VERSION:=1.20-16 +PKG_VERSION:=1.20-17 PKG_RELEASE:= PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall2/luasrc/model/cbi/passwall2/client/acl_config.lua b/luci-app-passwall2/luasrc/model/cbi/passwall2/client/acl_config.lua index b85ec2a2..e6b3c979 100644 --- a/luci-app-passwall2/luasrc/model/cbi/passwall2/client/acl_config.lua +++ b/luci-app-passwall2/luasrc/model/cbi/passwall2/client/acl_config.lua @@ -232,10 +232,13 @@ o.datatype = "ipaddr" o:depends("remote_dns_protocol", "tcp") o:depends("remote_dns_protocol", "doh") -o = s:taboption("DNS", ListValue, "remote_dns_detour", translate("Remote DNS Outbound")) +o = s:option(ListValue, "remote_dns_detour", translate("Remote DNS Outbound")) o.default = "remote" o:value("remote", translate("Remote")) o:value("direct", translate("Direct")) +o:depends("remote_dns_protocol", "tcp") +o:depends("remote_dns_protocol", "doh") +o:depends("remote_dns_protocol", "udp") o = s:option(Flag, "remote_fakedns", "FakeDNS", translate("Use FakeDNS work in the shunt domain that proxy.")) o.default = "0"