This commit is contained in:
lwb1978 2024-03-14 00:03:06 +08:00 committed by sbwml
parent 538bc1c78c
commit 7eff1ea6a0

View File

@ -550,10 +550,12 @@ local function processData(szType, content, add_mode, add_from)
result.protocol = 'shadowsocks'
end
if result.type == "SS-Rust" or result.type == "Xray" then
if method:lower() == "chacha20-ietf-poly1305" then
result.method = "chacha20-poly1305"
end
if result.type == "SS-Rust" and method:lower() == "chacha20-poly1305" then
result.method = "chacha20-ietf-poly1305"
end
if result.type == "Xray" and method:lower() == "chacha20-ietf-poly1305" then
result.method = "chacha20-poly1305"
end
if result.plugin then