]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
gen/typo: Improve grammar
authorJeff Lucovsky <jlucovsky@oisf.net>
Mon, 17 Feb 2025 17:08:00 +0000 (12:08 -0500)
committerVictor Julien <victor@inliniac.net>
Wed, 19 Feb 2025 08:21:34 +0000 (09:21 +0100)
src/detect-ipproto.c

index 8151a71f71011ad506abedc99726e245f21daef5..08f3b405f2ee6b8ae5e4787b30a8688a36be9181 100644 (file)
@@ -314,7 +314,7 @@ static int DetectIPProtoSetup(DetectEngineCtx *de_ctx, Signature *s, const char
         case DETECT_IPPROTO_OP_LT:
             if (eq_set || lt_set) {
                 SCLogError("can't use a eq or lt "
-                           "ipproto along with a less than ipproto in the "
+                           "ipproto with a less than ipproto in the "
                            "same sig ");
                 goto error;
             }
@@ -334,7 +334,7 @@ static int DetectIPProtoSetup(DetectEngineCtx *de_ctx, Signature *s, const char
                 if (temp_sm != NULL) {
                   DetectIPProtoData *data_temp = (DetectIPProtoData *)temp_sm->ctx;
                     if (data_temp->proto >= data->proto) {
-                        SCLogError("can't use a have "
+                        SCLogError("can't have "
                                    "both gt and lt ipprotos, with the lt being "
                                    "lower than gt value");
                         goto error;