From: Victor Julien Date: Thu, 18 Jul 2013 05:01:56 +0000 (+0200) Subject: Fix ac-bs and ac-gfbs mpm-algo settings leading to fatal error if CUDA is enabled... X-Git-Tag: suricata-2.0beta1~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=97f51c10111621c020d268e092aead07046ff314;p=thirdparty%2Fsuricata.git Fix ac-bs and ac-gfbs mpm-algo settings leading to fatal error if CUDA is enabled. Workaround for #882. --- diff --git a/src/util-mpm.c b/src/util-mpm.c index 904b6702a5..d9f105c98d 100644 --- a/src/util-mpm.c +++ b/src/util-mpm.c @@ -562,12 +562,12 @@ void MpmTableSetup(void) { MpmB2gcRegister(); MpmB2gmRegister(); MpmACRegister(); + MpmACBSRegister(); + MpmACGfbsRegister(); #ifdef __SC_CUDA_SUPPORT__ CudaHandlerAddCudaProfileFromConf("mpm", MpmCudaConfParse, MpmCudaConfFree); MpmACCudaRegister(); #endif /* __SC_CUDA_SUPPORT__ */ - MpmACBSRegister(); - MpmACGfbsRegister(); } /** \brief Function to return the default hash size for the mpm algorithm,