set content_uri_mpm flag for uri content to prevent double check inside inspection code

remotes/origin/master-1.1.x
Anoop Saldanha 15 years ago committed by Victor Julien
parent 1cd8bd3d3c
commit 67aecc73c2

@ -742,6 +742,8 @@ static void PopulateMpmAddPatternToMpm(DetectEngineCtx *de_ctx,
if (!(prev_ud->flags & DETECT_CONTENT_RELATIVE_NEXT)) {
ud->flags |= DETECT_CONTENT_URI_MPM;
}
} else {
ud->flags |= DETECT_CONTENT_URI_MPM;
}
}
} /* else - if (ud->flags & DETECT_CONTENT_FAST_PATTERN_ONLY) */

Loading…
Cancel
Save