This commit is contained in:
crusader
2018-09-03 16:23:25 +09:00
parent 6ce87348ba
commit 704ba5cc5d
14 changed files with 14 additions and 14 deletions

View File

@@ -82,7 +82,7 @@ func (m *MongoDBMatcher) Match(info osm.MatchInfo, index int, packet *osm.Packet
}
reader := new(bytes.Buffer)
reader.Write(packet.Bytes())
reader.Write(packet.Buffer)
reply := OP_reply{}
if err := binary.Read(reader, binary.LittleEndian, &reply); err != nil {