diff --git a/src/detect-parse.c b/src/detect-parse.c index a25d63ed599a..78fecb4fdc86 100644 --- a/src/detect-parse.c +++ b/src/detect-parse.c @@ -897,7 +897,7 @@ static int SigParseOptions(DetectEngineCtx *de_ctx, Signature *s, char *optstr, /* Check for options that are only to be processed during the * first "requires" pass. */ - bool requires_only = strcmp(optname, "requires") == 0 || strcmp(optname, "sid") == 0; + bool requires_only = strcasecmp(optname, "requires") == 0 || strcasecmp(optname, "sid") == 0; if ((requires && !requires_only) || (!requires && requires_only)) { goto finish; }