From 7168e0aafc8fd5180d802610dfff91f5828d7c23 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Fri, 12 Aug 2011 17:48:16 +0200 Subject: [PATCH] threshold: fix trivial typo in parsing. --- src/detect-threshold.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect-threshold.c b/src/detect-threshold.c index 96cec72aa4..a47d0ea648 100644 --- a/src/detect-threshold.c +++ b/src/detect-threshold.c @@ -187,7 +187,7 @@ static DetectThresholdData *DetectThresholdParse (char *rawstr) de->track = TRACK_DST; if (strncasecmp(args[i],"by_src",strlen("by_src")) == 0) de->track = TRACK_SRC; - if (strncasecmp(args[i],"count",strlen("seconds")) == 0) + if (strncasecmp(args[i],"count",strlen("count")) == 0) count_pos = i+1; if (strncasecmp(args[i],"seconds",strlen("seconds")) == 0) second_pos = i+1;