From e0cf2ccb91592f4f996723663dcabd5b0dbeb1df Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 3 Jan 2012 12:31:55 +0100 Subject: [PATCH] Fix invalid direction error message. --- src/detect-parse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;