fix ss cipher auto

This commit is contained in:
zu1k
2020-08-14 10:51:58 +08:00
parent a1b46e9fa4
commit 36f7fb11b0

View File

@@ -29,7 +29,10 @@ func checkSurgeSupport(p proxy.Proxy) bool {
case *proxy.Vmess:
return true
case *proxy.Shadowsocks:
return true
ss := p.(*proxy.Shadowsocks)
if checkInList(ssCipherList, ss.Cipher) {
return true
}
default:
return false
}