🏅 Sync 2026-06-06 23:55:53

This commit is contained in:
github-actions[bot] 2026-06-06 23:55:53 +08:00
parent ae06e06bf4
commit 7c01c94bb3
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,7 @@ LUCI_DEPENDS:=+bc +nftables +bash +conntrack
LUCI_PKGARCH:=all LUCI_PKGARCH:=all
PKG_VERSION:=3.2.4 PKG_VERSION:=3.2.4
PKG_RELEASE:=3 PKG_RELEASE:=4
PKG_MAINTAINER:=sirpdboy <herboy2008@gmail.com> PKG_MAINTAINER:=sirpdboy <herboy2008@gmail.com>
define Build/Compile define Build/Compile

View File

@ -22,6 +22,9 @@ bin_iptables=$(which iptables 2>/dev/null)
bin_ip6tables=$(which ip6tables 2>/dev/null) bin_ip6tables=$(which ip6tables 2>/dev/null)
bin_conntrack=$(which conntrack 2>/dev/null) bin_conntrack=$(which conntrack 2>/dev/null)
nftables_ver=0
iptables_ver=0
# 获取配置 # 获取配置
chain=$(config_t_get timecontrol chain 0 "forward") chain=$(config_t_get timecontrol chain 0 "forward")
list_type=$(config_t_get timecontrol list_type 0 "blacklist") list_type=$(config_t_get timecontrol list_type 0 "blacklist")
@ -53,7 +56,7 @@ parse_target() {
# 去除空格 # 去除空格
target=$(echo "${target}" | xargs) target=$(echo "${target}" | xargs)
dbg "解析目标地址: $target" # dbg "解析目标地址: $target"
# IPv4单个地址 # IPv4单个地址
if echo "$target" | grep -qE '^([0-9]{1,3}\.){3}[0-9]{1,3}$'; then if echo "$target" | grep -qE '^([0-9]{1,3}\.){3}[0-9]{1,3}$'; then