luci-app-passwall2: sync upstream
This commit is contained in:
parent
f7a88bb759
commit
cbce7ca53f
@ -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:= \
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user