mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-27 16:50:02 +00:00
Fix the source-destination flip in Kafka (#729)
This commit is contained in:
parent
83b657472b
commit
9bd82191aa
@ -251,10 +251,10 @@ func ReadResponse(r io.Reader, tcpID *api.TcpID, superTimer *api.SuperTimer, emi
|
|||||||
}
|
}
|
||||||
|
|
||||||
connectionInfo := &api.ConnectionInfo{
|
connectionInfo := &api.ConnectionInfo{
|
||||||
ClientIP: tcpID.SrcIP,
|
ClientIP: tcpID.DstIP,
|
||||||
ClientPort: tcpID.SrcPort,
|
ClientPort: tcpID.DstPort,
|
||||||
ServerIP: tcpID.DstIP,
|
ServerIP: tcpID.SrcIP,
|
||||||
ServerPort: tcpID.DstPort,
|
ServerPort: tcpID.SrcPort,
|
||||||
IsOutgoing: true,
|
IsOutgoing: true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user