From 96008fc5887f84b18c6382d44e9f0e9e808d56cb Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Tue, 24 Mar 2020 05:10:24 +0800 Subject: [PATCH] luci-app-passwall: update to 3.6-29 --- package/lienol/luci-app-passwall/Makefile | 4 ++-- .../luci-app-passwall/root/usr/share/passwall/iptables.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/lienol/luci-app-passwall/Makefile b/package/lienol/luci-app-passwall/Makefile index 2569350651..7089a2203a 100644 --- a/package/lienol/luci-app-passwall/Makefile +++ b/package/lienol/luci-app-passwall/Makefile @@ -7,8 +7,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=3.6 -PKG_RELEASE:=28 -PKG_DATE:=20200316 +PKG_RELEASE:=29 +PKG_DATE:=20200323 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) diff --git a/package/lienol/luci-app-passwall/root/usr/share/passwall/iptables.sh b/package/lienol/luci-app-passwall/root/usr/share/passwall/iptables.sh index b0e266f68c..45a605b240 100755 --- a/package/lienol/luci-app-passwall/root/usr/share/passwall/iptables.sh +++ b/package/lienol/luci-app-passwall/root/usr/share/passwall/iptables.sh @@ -496,7 +496,7 @@ add_firewall_rule() { echolog "TCP默认代理模式:$(get_action_chain_name $TCP_PROXY_MODE)" # 加载UDP默认代理模式 - [ "$UDP_PROXY_MODE" == "disable" ] && { + [ "$UDP_PROXY_MODE" != "disable" ] && { [ "$UDP_NODE1" != "nil" ] && { [ "$UDP_NO_REDIR_PORTS" != "disable" ] && $ipt_m -A PSW_ACL -p udp -m multiport --dport $UDP_NO_REDIR_PORTS $(comment "Default") -j RETURN $ipt_m -A PSW_ACL -p udp $(factor $UDP_REDIR_PORTS "-m multiport --dport") $(comment "Default") -j $(get_action_chain $UDP_PROXY_MODE)1