refactor bytes functions

This commit is contained in:
v2ray committed 2016-06-26 22:34:48 +02:00
1 parent d12d5b0593
commit 67ac925ee7
16 files changed
+78 -64

No files matched your search

+1 -1
View File
@@ -306,5 +306,5 @@ func (r *Socks5Response) Write(writer io.Writer) {
case 0x04:
writer.Write(r.IPv6[:])
}
writer.Write(r.Port.Bytes())
writer.Write(r.Port.Bytes(nil))
}