luci-app-passwall2: sync upstream

This commit is contained in:
actions 2023-10-11 18:45:37 +08:00
parent f7a88bb759
commit cbce7ca53f
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-passwall2 PKG_NAME:=luci-app-passwall2
PKG_VERSION:=1.21-2 PKG_VERSION:=1.21-3
PKG_RELEASE:= PKG_RELEASE:=
PKG_CONFIG_DEPENDS:= \ PKG_CONFIG_DEPENDS:= \

View File

@ -1369,7 +1369,7 @@ function gen_config(var)
local _, i = string.find(s, "#") local _, i = string.find(s, "#")
local m = string.len(s) - i + 1 local m = string.len(s) - i + 1
local n = w:sub(m + 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 end
end end

View File

@ -1248,7 +1248,7 @@ function gen_config(var)
local _, i = string.find(s, "#") local _, i = string.find(s, "#")
local m = string.len(s) - i + 1 local m = string.len(s) - i + 1
local n = w:sub(m + 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 end
end end