]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
mpm: remove unused app proto factory
authorVictor Julien <victor@inliniac.net>
Wed, 28 Oct 2015 07:32:29 +0000 (08:32 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 5 Apr 2016 07:37:42 +0000 (09:37 +0200)
src/detect.c
src/detect.h

index add8f53b1ba0f8aa59c9e3971e64289f27d75f0d..8acacc1c9289cfbaace1085dd6f73e9bcb729923 100644 (file)
@@ -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);
 
index 4c5068b02032766314c866f99f53accf2712d2a3..c4f98f3159e564e86a058c649adcc537bff1689e 100644 (file)
@@ -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;