mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-11-11 19:32:58 -08:00
accounts in protobuf
This commit is contained in:
40 files changed
+790
-224
No files matched your search
@@ -139,7 +139,7 @@ func (this *CommandSwitchAccountFactory) Unmarshal(data []byte) (interface{}, er
|
||||
if len(data) < levelStart+1 {
|
||||
return nil, transport.ErrCorruptedPacket
|
||||
}
|
||||
cmd.Level = protocol.UserLevel(data[levelStart])
|
||||
cmd.Level = uint32(data[levelStart])
|
||||
timeStart := levelStart + 1
|
||||
if len(data) < timeStart {
|
||||
return nil, transport.ErrCorruptedPacket
|
||||
|
||||
Reference in new issue
Block a user