luci: fix #3025
This commit is contained in:
parent
538bc1c78c
commit
7eff1ea6a0
@ -550,10 +550,12 @@ local function processData(szType, content, add_mode, add_from)
|
|||||||
result.protocol = 'shadowsocks'
|
result.protocol = 'shadowsocks'
|
||||||
end
|
end
|
||||||
|
|
||||||
if result.type == "SS-Rust" or result.type == "Xray" then
|
if result.type == "SS-Rust" and method:lower() == "chacha20-poly1305" then
|
||||||
if method:lower() == "chacha20-ietf-poly1305" then
|
result.method = "chacha20-ietf-poly1305"
|
||||||
result.method = "chacha20-poly1305"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if result.type == "Xray" and method:lower() == "chacha20-ietf-poly1305" then
|
||||||
|
result.method = "chacha20-poly1305"
|
||||||
end
|
end
|
||||||
|
|
||||||
if result.plugin then
|
if result.plugin then
|
||||||
|
Loading…
Reference in New Issue
Block a user