This commit is contained in:
shoopea 2020-06-14 23:31:31 +02:00
parent b4cb5f20d5
commit 66154ce852

View File

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