Skip to content

Commit 7ae4004

Browse files
authored
Merge pull request #996 from DimaGolomozy/fixup-Src-Dst-Add-in-message
#995
2 parents 4d82e2f + 25299ec commit 7ae4004

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tcp/tcp_message.go

+2
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,8 @@ func (parser *MessageParser) processPacket(pckt *Packet) {
350350

351351
m = new(Message)
352352
m.Direction = pckt.Direction
353+
m.SrcAddr = pckt.SrcIP.String()
354+
m.DstAddr = pckt.DstIP.String()
353355

354356
parser.m[mIDX][mID] = m
355357

0 commit comments

Comments
 (0)