mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-31 09:55:13 +08:00
🔥 Sync 2026-05-22 20:51:20
This commit is contained in:
1 parent
b307c4b992
commit
9cd0894592
11 files changed
+102
-20
No files matched your search
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-passwall2
|
||||
PKG_VERSION:=26.5.19
|
||||
PKG_RELEASE:=45
|
||||
PKG_RELEASE:=46
|
||||
PKG_PO_VERSION:=$(PKG_VERSION)
|
||||
|
||||
PKG_CONFIG_DEPENDS:= \
|
||||
|
||||
@@ -664,6 +664,11 @@ local function parseClashNode(node, add_mode, group, sub_cfg)
|
||||
result.tls_allowInsecure = "1"
|
||||
end
|
||||
end
|
||||
if node.tls and node["reality-opts"] and node["reality-opts"]["public-key"] then
|
||||
result.reality = "1"
|
||||
result.reality_publicKey = (node["reality-opts"] and node["reality-opts"]["public-key"]) or nil
|
||||
result.reality_shortId = (node["reality-opts"] and node["reality-opts"]["short-id"]) or nil
|
||||
end
|
||||
result.transport = node.network and string.lower(node.network) or "tcp"
|
||||
if result.type == "sing-box" and result.transport == "raw" then
|
||||
result.transport = "tcp"
|
||||
|
||||
Reference in new issue
Block a user