From c55aaa55024cdd7ffb51c848a7f0847da3dc23ae Mon Sep 17 00:00:00 2001 From: HynoR <20227709+HynoR@users.noreply.github.com> Date: Thu, 1 Feb 2024 10:37:42 +0800 Subject: [PATCH] change version to param --- analyzer/udp/oicq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyzer/udp/oicq.go b/analyzer/udp/oicq.go index e9865d7..0259c33 100644 --- a/analyzer/udp/oicq.go +++ b/analyzer/udp/oicq.go @@ -73,7 +73,7 @@ func parseOICQMessage(data []byte) analyzer.PropMap { "seq": binary.BigEndian.Uint16(data[4:6]), "number": 0, } - data = data[4:] + data = data[6:] if len(data) < 5 { // Valid OICQ packet, but no Number field return m