mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Merge pull request #996 from DimaGolomozy/fixup-Src-Dst-Add-in-message
https://github.com/buger/goreplay/pull/995
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user