]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/prefilter: fix prefilter when setting is 'mpm'
authorVictor Julien <victor@inliniac.net>
Thu, 9 Aug 2018 15:35:32 +0000 (17:35 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 1 Nov 2018 14:46:10 +0000 (15:46 +0100)
commitdf6b985f3cb6c2f30ae5c32a25888187be8332ca
treeee58b34e8d2b46c59efda3b69149301fcadc7fd0
parentc80aae1b5b74fd4737d9caf52fd0f1f9b2b2182b
detect/prefilter: fix prefilter when setting is 'mpm'

When prefilter is not enabled globally, it is still possible to
enable it per signature. This was broken however, as the setup
code would never be called.

This commit always call the setup code and lets that sort out
which signatures (if any) to enable prefiltering for.
src/detect-engine-prefilter.c