diff --git a/src/util-mpm-b2gc.c b/src/util-mpm-b2gc.c index 63c8ec9f50..6739eaea44 100644 --- a/src/util-mpm-b2gc.c +++ b/src/util-mpm-b2gc.c @@ -64,7 +64,7 @@ static void *b2g_func; #define B2GC_PMINLEN_MAX 8 /* align pattern storage to these bytes. 1 disables. */ -#define B2GC_ALIGN_PATTERNS 16 +#define B2GC_ALIGN_PATTERNS 2 void B2gcInitCtx (MpmCtx *, int); void B2gcThreadInitCtx(MpmCtx *, MpmThreadCtx *, uint32_t); diff --git a/suricata.yaml b/suricata.yaml index 465e320924..e750af9b12 100644 --- a/suricata.yaml +++ b/suricata.yaml @@ -133,7 +133,7 @@ cuda: # compiled with --enable-cuda: b2g_cuda. Make sure to update your # max-pending-packets setting above as well if you use b2g_cuda. -mpm-algo: b2g +mpm-algo: b2gc # The memory settings for hash size of these algorithms can vary from lowest # (2048) - low (4096) - medium (8192) - high (16384) - highest (32768) - max