From c1a802a438fa8c1d47f0f157244443148c037342 Mon Sep 17 00:00:00 2001 From: Tianhe Y Date: Sat, 1 Apr 2023 14:03:45 +0800 Subject: [PATCH] luci: 4.62-2 (#2439) --- luci-app-passwall/Makefile | 2 +- .../luasrc/passwall/util_xray.lua | 24 ------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/luci-app-passwall/Makefile b/luci-app-passwall/Makefile index 0f5ef4b0b..cf9f5527f 100644 --- a/luci-app-passwall/Makefile +++ b/luci-app-passwall/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall PKG_VERSION:=4.62 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_CONFIG_DEPENDS:= \ CONFIG_PACKAGE_$(PKG_NAME)_Iptables_Transparent_Proxy \ diff --git a/luci-app-passwall/luasrc/passwall/util_xray.lua b/luci-app-passwall/luasrc/passwall/util_xray.lua index 4379f2b8c..7d06540df 100644 --- a/luci-app-passwall/luasrc/passwall/util_xray.lua +++ b/luci-app-passwall/luasrc/passwall/util_xray.lua @@ -809,30 +809,6 @@ function gen_config(var) table.insert(protocols, w) end) end - --[[ - local _domain = nil - if e.domain_list then - _domain = {} - string.gsub(e.domain_list, '[^' .. "\r\n" .. ']+', function(w) - table.insert(_domain, w) - end) - end - local _ip = nil - if e.ip_list then - _ip = {} - string.gsub(e.ip_list, '[^' .. "\r\n" .. ']+', function(w) - table.insert(_ip, w) - end) - end - table.insert(rules, { - type = "field", - outboundTag = outboundTag, - balancerTag = balancerTag, - domain = _domain, - ip = _ip, - protocol = protocols - }) - --]] if e.domain_list then local _domain = {} string.gsub(e.domain_list, '[^' .. "\r\n" .. ']+', function(w)