|
|
|
|
@ -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) {
|
|
|
|
|
|