From 614004649e041b1a86d932d94a433b44a04fc1a5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Mar 2023 18:39:15 +0800 Subject: [PATCH] update 2023-03-09 18:39:15 --- luci-app-xray/Makefile | 2 +- luci-app-xray/root/usr/share/xray/gen_config.uc | 4 ++-- smartdns/Makefile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/luci-app-xray/Makefile b/luci-app-xray/Makefile index 9e70d39ae..cdbe3e222 100644 --- a/luci-app-xray/Makefile +++ b/luci-app-xray/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-xray -PKG_VERSION:=1.26.5 +PKG_VERSION:=1.26.6 PKG_RELEASE:=1 PKG_LICENSE:=MPLv2 diff --git a/luci-app-xray/root/usr/share/xray/gen_config.uc b/luci-app-xray/root/usr/share/xray/gen_config.uc index 27f2a003a..e1f5dfed6 100644 --- a/luci-app-xray/root/usr/share/xray/gen_config.uc +++ b/luci-app-xray/root/usr/share/xray/gen_config.uc @@ -960,7 +960,7 @@ function rules() { }) } if (proxy["tproxy_sniffing"] == "1") { - if (secure_domain_rules() != null) { + if (length(secure_domain_rules()) > 0) { splice(result, 0, 0, { type: "field", inboundTag: ["tproxy_udp_inbound"], @@ -974,7 +974,7 @@ function rules() { domain: secure_domain_rules(), }); } - if (blocked_domain_rules() != null) { + if (length(blocked_domain_rules()) > 0) { splice(result, 0, 0, { type: "field", inboundTag: ["tproxy_tcp_inbound", "tproxy_udp_inbound", "dns_conf_inbound"], diff --git a/smartdns/Makefile b/smartdns/Makefile index 5e75e03f3..95e3f7255 100644 --- a/smartdns/Makefile +++ b/smartdns/Makefile @@ -10,7 +10,7 @@ PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://www.github.com/pymumu/smartdns.git -PKG_HASH:= +PKG_MIRROR_HASH:=skip PKG_SOURCE_VERSION:=d792e5f7f71ce9320b341fe02135077e00fa3e21 PKG_MAINTAINER:=Nick Peng