forked from OISF/suricata
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-layer/template: don't always enable if unittests built
314ec77 had the unintended side affect of enabling the template parser and detection buffer if unittests were enabled. Fix this by using the new `Default` method for registering parsers. However, the buffer still needs an explicit configuration check. Also convert Notice debug messages to Debug to reduce output when in unittest mode. If we feel stronly this should still be Notice in the template, that is a conversion we can make in the generation script when generating a new parser.
- Loading branch information
1 parent
6a470a8
commit 1f6a15c
Showing
2 changed files
with
17 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters