update 2023-03-09 18:39:15

This commit is contained in:
github-actions[bot] 2023-03-09 18:39:15 +08:00
parent 8c6608bfb6
commit 614004649e
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-xray PKG_NAME:=luci-app-xray
PKG_VERSION:=1.26.5 PKG_VERSION:=1.26.6
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_LICENSE:=MPLv2 PKG_LICENSE:=MPLv2

View File

@ -960,7 +960,7 @@ function rules() {
}) })
} }
if (proxy["tproxy_sniffing"] == "1") { if (proxy["tproxy_sniffing"] == "1") {
if (secure_domain_rules() != null) { if (length(secure_domain_rules()) > 0) {
splice(result, 0, 0, { splice(result, 0, 0, {
type: "field", type: "field",
inboundTag: ["tproxy_udp_inbound"], inboundTag: ["tproxy_udp_inbound"],
@ -974,7 +974,7 @@ function rules() {
domain: secure_domain_rules(), domain: secure_domain_rules(),
}); });
} }
if (blocked_domain_rules() != null) { if (length(blocked_domain_rules()) > 0) {
splice(result, 0, 0, { splice(result, 0, 0, {
type: "field", type: "field",
inboundTag: ["tproxy_tcp_inbound", "tproxy_udp_inbound", "dns_conf_inbound"], inboundTag: ["tproxy_tcp_inbound", "tproxy_udp_inbound", "dns_conf_inbound"],

View File

@ -10,7 +10,7 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://www.github.com/pymumu/smartdns.git PKG_SOURCE_URL:=https://www.github.com/pymumu/smartdns.git
PKG_HASH:= PKG_MIRROR_HASH:=skip
PKG_SOURCE_VERSION:=d792e5f7f71ce9320b341fe02135077e00fa3e21 PKG_SOURCE_VERSION:=d792e5f7f71ce9320b341fe02135077e00fa3e21
PKG_MAINTAINER:=Nick Peng <pymumu@gmail.com> PKG_MAINTAINER:=Nick Peng <pymumu@gmail.com>