mirror of
https://github.com/maride/pancap.git
synced 2026-04-13 10:35:45 +00:00
Generate Graphviz graphs of network communication
This commit is contained in:
@@ -39,6 +39,9 @@ func Analyze(source *gopacket.PacketSource) error {
|
||||
}
|
||||
}
|
||||
|
||||
// Register communication for graph
|
||||
output.AddPkgToGraph(packet)
|
||||
|
||||
// Raise statistics
|
||||
totalPackets += 1
|
||||
if processed {
|
||||
|
||||
Reference in New Issue
Block a user