mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-01 08:17:25 +00:00
Add Port as a type
This commit is contained in:
@@ -172,7 +172,7 @@ func (this *VMessRequest) ToBytes(idHash user.CounterHash, randomRangeInt64 user
|
||||
buffer.Append(this.RequestKey)
|
||||
buffer.Append(this.ResponseHeader)
|
||||
buffer.AppendBytes(this.Command)
|
||||
buffer.Append(this.Address.PortBytes())
|
||||
buffer.Append(this.Address.Port().Bytes())
|
||||
|
||||
switch {
|
||||
case this.Address.IsIPv4():
|
||||
|
||||
Reference in New Issue
Block a user