gen/typo: Improve grammar

pull/12625/head
Jeff Lucovsky 6 months ago committed by Victor Julien
parent 7d5c170dd2
commit eeb2166a5a

@ -314,7 +314,7 @@ static int DetectIPProtoSetup(DetectEngineCtx *de_ctx, Signature *s, const char
case DETECT_IPPROTO_OP_LT: case DETECT_IPPROTO_OP_LT:
if (eq_set || lt_set) { if (eq_set || lt_set) {
SCLogError("can't use a eq or lt " 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 "); "same sig ");
goto error; goto error;
} }
@ -334,7 +334,7 @@ static int DetectIPProtoSetup(DetectEngineCtx *de_ctx, Signature *s, const char
if (temp_sm != NULL) { if (temp_sm != NULL) {
DetectIPProtoData *data_temp = (DetectIPProtoData *)temp_sm->ctx; DetectIPProtoData *data_temp = (DetectIPProtoData *)temp_sm->ctx;
if (data_temp->proto >= data->proto) { 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 " "both gt and lt ipprotos, with the lt being "
"lower than gt value"); "lower than gt value");
goto error; goto error;

Loading…
Cancel
Save