diff --git a/src/detect-parse.c b/src/detect-parse.c index 189d873cfa..50df0a71a8 100644 --- a/src/detect-parse.c +++ b/src/detect-parse.c @@ -963,7 +963,7 @@ static int SigParseBasics(Signature *s, char *sigstr, char ***result, uint8_t ad goto error; if (strcmp(arr[CONFIG_DIREC], "<-") == 0) { - SCLogError(SC_ERR_INVALID_DIRECTION, "\"->\" is not a valid direction modifier, \"->\" and \"<>\" are supported."); + SCLogError(SC_ERR_INVALID_DIRECTION, "\"<-\" is not a valid direction modifier, \"->\" and \"<>\" are supported."); goto error; } @@ -980,7 +980,7 @@ static int SigParseBasics(Signature *s, char *sigstr, char ***result, uint8_t ad /* For IPOnly */ if (IPOnlySigParseAddress(s, arr[CONFIG_SRC], SIG_DIREC_SRC ^ addrs_direction) < 0) - goto error; + goto error; if (IPOnlySigParseAddress(s, arr[CONFIG_DST], SIG_DIREC_DST ^ addrs_direction) < 0) goto error;