aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiliano Ciavatta2020-07-10 07:04:39 +0000
committerEmiliano Ciavatta2020-07-10 07:04:39 +0000
commit7392bb59083cd862e398b3d4c0b824e078437a18 (patch)
tree925a5bc5b458d0a1962375e2db02f13abe518ad8
parent7d05d0cea014b370601546a30f9e616d1efe5178 (diff)
Services with multiple ip workaround
-rw-r--r--pcap_importer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap_importer.go b/pcap_importer.go
index 129e60b..9d3f5bc 100644
--- a/pcap_importer.go
+++ b/pcap_importer.go
@@ -208,7 +208,7 @@ func (pi *PcapImporter) parsePcap(session ImportingSession, fileName string, ctx
index = 1
} else {
session.InvalidPackets++
- continue
+ // continue // workaround to process packets when services have multiple ips
}
fCount, isPresent := session.PacketsPerService[servicePort]
if !isPresent {