From fdd05e8fb40887a02dc138cbc0aaa1dfdefd6003 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Wed, 28 Oct 2015 08:32:29 +0100 Subject: [PATCH] mpm: remove unused app proto factory --- src/detect.c | 2 -- src/detect.h | 1 - 2 files changed, 3 deletions(-) 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; -- 2.47.2