From 66154ce852b9d397443fe73f45a98809e26686bc Mon Sep 17 00:00:00 2001 From: shoopea Date: Sun, 14 Jun 2020 23:31:31 +0200 Subject: [PATCH] test --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 1c80b5c..664c2f1 100644 --- a/main.go +++ b/main.go @@ -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