luci-app-passwall: sync upstream

last commit: b866a5c884
This commit is contained in:
gitea-action 2024-11-19 20:30:24 +08:00
parent 7b3b185555
commit 6821381140

View File

@ -267,7 +267,8 @@ function gen_outbound(flag, node, tag, proxy_table)
level = 0, level = 0,
security = (node.protocol == "vmess") and node.security or nil, security = (node.protocol == "vmess") and node.security or nil,
encryption = node.encryption or "none", encryption = node.encryption or "none",
flow = (node.protocol == "vless" and node.tls == "1" and node.transport == "raw" and node.flow and node.flow ~= "") and node.flow or nil flow = (node.protocol == "vless" and node.tls == "1" and (node.transport == "raw" or node.transport == "tcp") and node.flow and node.flow ~= "") and node.flow or nil
} }
} }
} }