diff --git a/src/detect.c b/src/detect.c index 280033ea2b..fdd862cf4d 100644 --- a/src/detect.c +++ b/src/detect.c @@ -456,7 +456,7 @@ static void SigMatchSignaturesBuildMatchArray(DetectEngineCtx *de_ctx, } /* if the sig has alproto and the session as well they should match */ - if (s->alproto != ALPROTO_UNKNOWN && alproto != ALPROTO_UNKNOWN) { + if (s->alproto != ALPROTO_UNKNOWN) { if (s->alproto != alproto) { SCLogDebug("alproto mismatch"); continue;