mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-08-22 17:46:48 +08:00
aes128xor (all) -> xored (optimized)
https://github.com/XTLS/Xray-core/pull/4952#issuecomment-3182301703
This commit is contained in:
@@ -92,7 +92,7 @@ func (c *VLessInboundConfig) Build() (proto.Message, error) {
|
||||
}
|
||||
switch s[1] {
|
||||
case "vless":
|
||||
case "aes128xor":
|
||||
case "xored":
|
||||
config.Xor = 1
|
||||
default:
|
||||
return false
|
||||
@@ -240,7 +240,7 @@ func (c *VLessOutboundConfig) Build() (proto.Message, error) {
|
||||
}
|
||||
switch s[1] {
|
||||
case "vless":
|
||||
case "aes128xor":
|
||||
case "xored":
|
||||
account.Xor = 1
|
||||
default:
|
||||
return false
|
||||
|
Reference in New Issue
Block a user