Small fix

remotes/origin/master-1.0.x
Pablo Rincon 15 years ago committed by Victor Julien
parent 1d12de9500
commit 0e83759ed4

@ -387,9 +387,6 @@ DetectPcreData *DetectPcreParseCapture(char *regexstr, DetectEngineCtx *de_ctx,
//printf("DetectPcreParseCapture: type \'%s\'\n", type_str_ptr ? type_str_ptr : "NULL");
//printf("DetectPcreParseCapture: capture \'%s\'\n", capture_str_ptr ? capture_str_ptr : "NULL");
pd->depth = 0;
pd->flags = 0;
if (capture_str_ptr != NULL) {
pd->capname = strdup((char *)capture_str_ptr);
}

@ -4,7 +4,6 @@
#define DETECT_PCRE_DISTANCE 0x0001
#define DETECT_PCRE_WITHIN 0x0002
#define DETECT_PCRE_RELATIVE 0x0004
#define DETECT_PCRE_MATCH_LIMIT 0x0006
#define DETECT_PCRE_DISTANCE_NEXT 0x0008
#define DETECT_PCRE_WITHIN_NEXT 0x0010
@ -14,6 +13,7 @@
#define DETECT_PCRE_CAPTURE_PKT 0x0080
#define DETECT_PCRE_CAPTURE_FLOW 0x0100
#define DETECT_PCRE_MATCH_LIMIT 0x0200
typedef struct DetectPcreData_ {
/* pcre options */

Loading…
Cancel
Save