From 31a606893966ec9417b80f8eb2f83293e00a71c1 Mon Sep 17 00:00:00 2001 From: Anoop Saldanha Date: Wed, 3 Mar 2010 13:05:51 +0530 Subject: [PATCH] fix for bug 114 --- src/detect-dce-iface.c | 2 ++ src/detect-dce-opnum.c | 2 ++ src/detect-dce-stub-data.c | 2 ++ 3 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/detect-dce-iface.c b/src/detect-dce-iface.c index 76b6c00..518d859 100644 --- a/src/detect-dce-iface.c +++ b/src/detect-dce-iface.c @@ -48,6 +48,8 @@ void DetectDceIfaceRegister(void) sigmatch_table[DETECT_DCE_IFACE].Free = DetectDceIfaceFree; sigmatch_table[DETECT_DCE_IFACE].RegisterTests = DetectDceIfaceRegisterTests; + sigmatch_table[DETECT_DCE_IFACE].flags |= SIGMATCH_PAYLOAD; + parse_regex = pcre_compile(DETECT_DCE_IFACE_PCRE_PARSE_ARGS, opts, &eb, &eo, NULL); if (parse_regex == NULL) { diff --git a/src/detect-dce-opnum.c b/src/detect-dce-opnum.c index 2d13ce2..93943d5 100644 --- a/src/detect-dce-opnum.c +++ b/src/detect-dce-opnum.c @@ -48,6 +48,8 @@ void DetectDceOpnumRegister(void) sigmatch_table[DETECT_DCE_OPNUM].Free = DetectDceOpnumFree; sigmatch_table[DETECT_DCE_OPNUM].RegisterTests = DetectDceOpnumRegisterTests; + sigmatch_table[DETECT_DCE_OPNUM].flags |= SIGMATCH_PAYLOAD; + parse_regex = pcre_compile(DETECT_DCE_OPNUM_PCRE_PARSE_ARGS, opts, &eb, &eo, NULL); if (parse_regex == NULL) { diff --git a/src/detect-dce-stub-data.c b/src/detect-dce-stub-data.c index 69abf96..6231fd0 100644 --- a/src/detect-dce-stub-data.c +++ b/src/detect-dce-stub-data.c @@ -39,6 +39,8 @@ void DetectDceStubDataRegister(void) sigmatch_table[DETECT_DCE_STUB_DATA].Free = NULL; sigmatch_table[DETECT_DCE_STUB_DATA].RegisterTests = DetectDceStubDataRegisterTests; + sigmatch_table[DETECT_DCE_STUB_DATA].flags |= SIGMATCH_PAYLOAD; + return; } -- 1.5.5