]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/frames: fix error messages
authorVictor Julien <vjulien@oisf.net>
Sun, 23 Jan 2022 19:32:16 +0000 (20:32 +0100)
committerVictor Julien <vjulien@oisf.net>
Tue, 25 Jan 2022 07:16:00 +0000 (08:16 +0100)
src/detect-parse.c

index ba13dd6468f9ef99197429780603170519029662..5df5c54ed7c0556bb37afbd06e3b7bac652b1bfe 100644 (file)
@@ -1801,11 +1801,11 @@ static int SigValidate(DetectEngineCtx *de_ctx, Signature *s)
         SCReturnInt(0);
     }
     if (has_app && has_frame) {
-        SCLogError(SC_ERR_INVALID_SIGNATURE, "can't app-layer buffer and frame inspection");
+        SCLogError(SC_ERR_INVALID_SIGNATURE, "can't mix app-layer buffer and frame inspection");
         SCReturnInt(0);
     }
     if (has_pkt && has_frame) {
-        SCLogError(SC_ERR_INVALID_SIGNATURE, "can't pkt buffer and frame inspection");
+        SCLogError(SC_ERR_INVALID_SIGNATURE, "can't mix pkt buffer and frame inspection");
         SCReturnInt(0);
     }