Skip to content

Commit

Permalink
TEST default to mpm-algo=ac-rs for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Nov 27, 2023
1 parent 9b32dc6 commit efff325
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util-mpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,10 @@ void MpmInitCtx(MpmCtx *mpm_ctx, uint8_t matcher)
/* MPM matcher to use by default, i.e. when "mpm-algo" is set to "auto".
* If Hyperscan is available, use it. Otherwise, use AC. */
#ifdef BUILD_HYPERSCAN
# define DEFAULT_MPM MPM_HS
# define DEFAULT_MPM_AC MPM_AC
#define DEFAULT_MPM MPM_AC_RS
#define DEFAULT_MPM_AC MPM_AC_RS
#else
# define DEFAULT_MPM MPM_AC
#define DEFAULT_MPM MPM_AC_RS
#endif

void MpmTableSetup(void)
Expand Down

0 comments on commit efff325

Please sign in to comment.