From 3775514ccbd1c49e1f9e742f84fa1cd4f66945cd Mon Sep 17 00:00:00 2001 From: Richard Lehane Date: Mon, 8 Aug 2016 23:03:47 +1000 Subject: [PATCH] identify --- pkg/core/bytematcher/identify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/core/bytematcher/identify.go b/pkg/core/bytematcher/identify.go index 3f725a877..c2870411c 100644 --- a/pkg/core/bytematcher/identify.go +++ b/pkg/core/bytematcher/identify.go @@ -83,7 +83,7 @@ func (b *Matcher) identify(buf *siegreader.Buffer, quit chan struct{}, r chan co for br := range bchan { if br.Index[0] == -1 { incoming <- progressStrike(br.Offset, false) - if br.Offset > 131072 && (maxBOF < 0 || maxBOF > maxEOF*5) { // del buf.Stream + if br.Offset > 131072 && (maxBOF < 0 || maxBOF > maxEOF*5) { // del buf.Stream 2^16 65536 2^17 131072 break } } else {