Merge pull request #996 from DimaGolomozy/fixup-Src-Dst-Add-in-message

https://github.com/buger/goreplay/pull/995
This commit is contained in:
Leonid Bugaev
2021-08-16 19:12:01 +03:00
committed by GitHub
+2
View File
@@ -350,6 +350,8 @@ func (parser *MessageParser) processPacket(pckt *Packet) {
m = new(Message)
m.Direction = pckt.Direction
m.SrcAddr = pckt.SrcIP.String()
m.DstAddr = pckt.DstIP.String()
parser.m[mIDX][mID] = m