This commit is contained in:
shoopea 2020-06-15 12:47:34 +02:00
parent 2c1d7b5804
commit de80b6025f

View File

@ -90,8 +90,6 @@ func main() {
logInfoDebug("Packet fully read : len : %d / type : %d", p.PLength, p.PType) logInfoDebug("Packet fully read : len : %d / type : %d", p.PLength, p.PType)
} }
readPacket(p, b[:p.PLength])
c := make([]byte, 0xFFFF) c := make([]byte, 0xFFFF)
copy(c, b[p.PLength:]) copy(c, b[p.PLength:])
b = c b = c