]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/prefilter: fix alias for fast_pattern
authorVictor Julien <victor@inliniac.net>
Thu, 9 Aug 2018 15:33:19 +0000 (17:33 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 1 Nov 2018 14:46:10 +0000 (15:46 +0100)
commit4fc04f17d8d45e36d7bfbb4be31dae90890483a3
tree27d636752df99548be59a88794bf39551202a0f9
parent4ca131d9bc05c7f182b58dd402a168d2fc846639
detect/prefilter: fix alias for fast_pattern

If prefilter is used on a content keyword, it acts as a simple
fast_pattern statement. This was broken because the SIG_FLAG_PREFILTER
flag bypasses MPM for a sig. This commits fixes this by not setting
the flag when it should act as fast_pattern.
src/detect-prefilter.c