This commit is contained in:
simonzhangsz committed 2023-10-17 14:10:46 +08:00
1 parent 0e0bb26a83
commit 9f2dbb6860
3 files changed
+7 -2

No files matched your search

+1 -1
View File
@@ -298,7 +298,7 @@ func gtpuHandler(rvMsg []byte, rvLen int) {
tr.DstAddr = fmt.Sprintf("%s:%d", extHdr.DstIP, extHdr.DstPort)
tr.MsgType = int(extHdr.MsgType)
tr.MsgDirect = int(extHdr.MsgDirect)
tr.Length = int(rvLen - off)
tr.RawMsg = make([]byte, int(rvLen-off))
copy(tr.RawMsg, []byte(msg[off:]))