From: Victor Julien Date: Wed, 28 Oct 2015 07:32:29 +0000 (+0100) Subject: mpm: remove unused app proto factory X-Git-Tag: suricata-3.1RC1~313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdd05e8fb40887a02dc138cbc0aaa1dfdefd6003;p=thirdparty%2Fsuricata.git mpm: remove unused app proto factory --- diff --git a/src/detect.c b/src/detect.c index add8f53b1b..8acacc1c92 100644 --- a/src/detect.c +++ b/src/detect.c @@ -2742,8 +2742,6 @@ static void SigInitStandardMpmFactoryContexts(DetectEngineCtx *de_ctx) de_ctx->sgh_mpm_context_stream = MpmFactoryRegisterMpmCtxProfile(de_ctx, "stream", MPM_CTX_FACTORY_FLAGS_PREPARE_WITH_SIG_GROUP_BUILD); - de_ctx->sgh_mpm_context_app_proto_detect = - MpmFactoryRegisterMpmCtxProfile(de_ctx, "app_proto_detect", 0); DetectMpmInitializeAppMpms(de_ctx); diff --git a/src/detect.h b/src/detect.h index 4c5068b020..c4f98f3159 100644 --- a/src/detect.h +++ b/src/detect.h @@ -619,7 +619,6 @@ typedef struct DetectEngineCtx_ { int32_t sgh_mpm_context_proto_udp_packet; int32_t sgh_mpm_context_proto_other_packet; int32_t sgh_mpm_context_stream; - int32_t sgh_mpm_context_app_proto_detect; /* the max local id used amongst all sigs */ int32_t byte_extract_max_local_id;