From: Victor Julien Date: Sun, 23 Jan 2022 19:32:16 +0000 (+0100) Subject: detect/frames: fix error messages X-Git-Tag: suricata-7.0.0-beta1~982 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6be6d2c6fa89e3a0a9326b001972e8e1e9155ab;p=thirdparty%2Fsuricata.git detect/frames: fix error messages --- diff --git a/src/detect-parse.c b/src/detect-parse.c index ba13dd6468..5df5c54ed7 100644 --- a/src/detect-parse.c +++ b/src/detect-parse.c @@ -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); }