From cbce7ca53f20d5ba2423210f79703ba672f340d0 Mon Sep 17 00:00:00 2001 From: actions Date: Wed, 11 Oct 2023 18:45:37 +0800 Subject: [PATCH] luci-app-passwall2: sync upstream --- luci-app-passwall2/Makefile | 2 +- luci-app-passwall2/luasrc/passwall2/util_sing-box.lua | 2 +- luci-app-passwall2/luasrc/passwall2/util_xray.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-passwall2/Makefile b/luci-app-passwall2/Makefile index e360ea76c..8eb425a8b 100644 --- a/luci-app-passwall2/Makefile +++ b/luci-app-passwall2/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=luci-app-passwall2 -PKG_VERSION:=1.21-2 +PKG_VERSION:=1.21-3 PKG_RELEASE:= PKG_CONFIG_DEPENDS:= \ diff --git a/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua b/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua index a070b1929..cdfd2f1df 100644 --- a/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua +++ b/luci-app-passwall2/luasrc/passwall2/util_sing-box.lua @@ -1369,7 +1369,7 @@ function gen_config(var) local _, i = string.find(s, "#") local m = string.len(s) - i + 1 local n = w:sub(m + 1) - sys.call("nft flush set inet fw4 " .. n .. "2>/dev/null") + sys.call("nft flush set inet fw4 " .. n .. " 2>/dev/null") end) end end diff --git a/luci-app-passwall2/luasrc/passwall2/util_xray.lua b/luci-app-passwall2/luasrc/passwall2/util_xray.lua index ad2510de4..ee491edb9 100644 --- a/luci-app-passwall2/luasrc/passwall2/util_xray.lua +++ b/luci-app-passwall2/luasrc/passwall2/util_xray.lua @@ -1248,7 +1248,7 @@ function gen_config(var) local _, i = string.find(s, "#") local m = string.len(s) - i + 1 local n = w:sub(m + 1) - sys.call("nft flush set inet fw4 " .. n .. "2>/dev/null") + sys.call("nft flush set inet fw4 " .. n .. " 2>/dev/null") end) end end