diff --git a/src/detect-engine.c b/src/detect-engine.c index efe0ec39e6..da7c73c59a 100644 --- a/src/detect-engine.c +++ b/src/detect-engine.c @@ -49,7 +49,6 @@ #include "detect-engine-hrhd.h" #include "detect-engine-hsmd.h" #include "detect-engine-hscd.h" -#include "detect-engine-hhhd.h" #include "detect-engine-hrhhd.h" #include "detect-engine-file.h" #include "detect-engine-dns.h" @@ -127,9 +126,6 @@ void DetectEngineRegisterAppInspectionEngines(void) { ALPROTO_HTTP, DETECT_SM_LIST_FILEMATCH, DetectFileInspectHttp }, - { ALPROTO_HTTP, - DETECT_SM_LIST_HHHDMATCH, - DetectEngineInspectHttpHH }, { ALPROTO_HTTP, DETECT_SM_LIST_HRHHDMATCH, DetectEngineInspectHttpHRH }, diff --git a/src/detect-http-hh.c b/src/detect-http-hh.c index 85098c295b..fbe0db9435 100644 --- a/src/detect-http-hh.c +++ b/src/detect-http-hh.c @@ -82,6 +82,11 @@ void DetectHttpHHRegister(void) DetectMpmAppLayerRegister("http_host", SIG_FLAG_TOSERVER, DETECT_SM_LIST_HHHDMATCH, 2, PrefilterTxHostnameRegister); + + DetectAppLayerInspectEngineRegister(ALPROTO_HTTP, SIG_FLAG_TOSERVER, + DETECT_SM_LIST_HHHDMATCH, + DetectEngineInspectHttpHH); + return; }