Fix truncated tcp check

This commit is contained in:
Leonid Bugaev
2016-10-11 18:56:30 +03:00
parent 0831476beb
commit 47db326b0f
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -6,6 +6,7 @@
*.bin
*.gz
*.zip
*.class
@@ -17,3 +18,5 @@ gor
*.mprof
*.pcap
.DS_Store
+1 -1
View File
@@ -465,7 +465,7 @@ func (t *Listener) readPcap() {
}
// Truncated TCP info
if len(data) < 13 {
if len(data) <= 13 {
continue
}