diff --git a/src/detect-http-cookie.c b/src/detect-http-cookie.c index 9fc64890fd..e98a5608be 100644 --- a/src/detect-http-cookie.c +++ b/src/detect-http-cookie.c @@ -224,8 +224,8 @@ static int DetectHttpCookieSetup (DetectEngineCtx *de_ctx, Signature *s, char *s /* http_cookie should not be used with the fast_pattern rule */ if (((DetectContentData *)pm->ctx)->flags & DETECT_CONTENT_FAST_PATTERN) { SCLogWarning(SC_WARN_COMPATIBILITY, "http_cookie rule can not " - "be used with the fast_pattern rule keyword. Unsetting fast_pattern" - "here"); + "be used with the fast_pattern rule keyword. " + "Unsetting fast_pattern on this modifier. Signature ==> %s", s->sig_str); ((DetectContentData *)pm->ctx)->flags &= ~DETECT_CONTENT_FAST_PATTERN; /* http_cookie should not be used with the rawbytes rule */ } else if (((DetectContentData *)pm->ctx)->flags & DETECT_CONTENT_RAWBYTES) { diff --git a/src/detect-http-method.c b/src/detect-http-method.c index a3a0b580cb..9f8c1bb006 100644 --- a/src/detect-http-method.c +++ b/src/detect-http-method.c @@ -179,7 +179,7 @@ static int DetectHttpMethodSetup(DetectEngineCtx *de_ctx, Signature *s, char *st { SCLogWarning(SC_WARN_COMPATIBILITY, "http_method cannot be used with \"fast_pattern\" currently." - "Unsetting fast_pattern on this modifier."); + "Unsetting fast_pattern on this modifier. Signature ==> %s", s->sig_str); ((DetectContentData *)pm->ctx)->flags &= ~DETECT_CONTENT_FAST_PATTERN; } else if (((DetectContentData *)pm->ctx)->flags & DETECT_CONTENT_RAWBYTES) {