From c169cfe0a38044631bb10b725c4d0165ebd3e604 Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Tue, 21 Jul 2020 13:46:18 +0530 Subject: [PATCH] bytetest: use ByteExtractString instead of StringParse --- src/detect-bytetest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-bytetest.c b/src/detect-bytetest.c index 446f122bb3..244108d4f6 100644 --- a/src/detect-bytetest.c +++ b/src/detect-bytetest.c @@ -382,7 +382,7 @@ static DetectBytetestData *DetectBytetestParse(const char *optstr, char **value, if (*value == NULL) goto error; } else { - if (StringParseUint64(&data->value, 0, 0, test_value) <= 0) { + if (ByteExtractStringUint64(&data->value, 0, 0, test_value) <= 0) { SCLogError(SC_ERR_INVALID_VALUE, "Malformed value: %s", test_value); goto error; } -- 2.47.2