handle CONNECT, ACCEPT cases

This commit is contained in:
Lorenzo Manacorda
2016-09-21 12:28:20 +02:00
parent a120daa139
commit 33993cb63e

View File

@@ -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)
}
})
}