mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-21 06:20:31 +00:00
handle CONNECT, ACCEPT cases
This commit is contained in:
@@ -160,6 +160,10 @@ func (r *Reporter) Report() (report.Report, error) {
|
||||
|
||||
fromNodeInfo[process.PID] = strconv.Itoa(e.Pid)
|
||||
fromNodeInfo[report.HostNodeID] = hostNodeID
|
||||
switch e.Type {
|
||||
case Connect, Accept:
|
||||
r.addConnection(&rpt, tuple, "", fromNodeInfo, toNodeInfo)
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user