From 067e53403c3318ca79aa54f76856ea222316f187 Mon Sep 17 00:00:00 2001 From: Anoop Saldanha Date: Sat, 23 Oct 2010 19:56:59 +0530 Subject: [PATCH] add missing sig_app_layer flags for dce sigs --- src/detect-dce-iface.c | 2 ++ src/detect-dce-opnum.c | 2 ++ src/detect-dce-stub-data.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/src/detect-dce-iface.c b/src/detect-dce-iface.c index 73c73a8250..56ef1d6307 100644 --- a/src/detect-dce-iface.c +++ b/src/detect-dce-iface.c @@ -375,6 +375,8 @@ static int DetectDceIfaceSetup(DetectEngineCtx *de_ctx, Signature *s, char *arg) } s->alproto = ALPROTO_DCERPC; + /* Flagged the signature as to inspect the app layer data */ + s->flags |= SIG_FLAG_APPLAYER; return 0; error: diff --git a/src/detect-dce-opnum.c b/src/detect-dce-opnum.c index 5aa5ed2b85..4f99093dd0 100644 --- a/src/detect-dce-opnum.c +++ b/src/detect-dce-opnum.c @@ -330,6 +330,8 @@ static int DetectDceOpnumSetup(DetectEngineCtx *de_ctx, Signature *s, char *arg) } s->alproto = ALPROTO_DCERPC; + /* Flagged the signature as to inspect the app layer data */ + s->flags |= SIG_FLAG_APPLAYER; return 0; error: diff --git a/src/detect-dce-stub-data.c b/src/detect-dce-stub-data.c index f39f90b1e4..c11bd91b71 100644 --- a/src/detect-dce-stub-data.c +++ b/src/detect-dce-stub-data.c @@ -138,6 +138,8 @@ static int DetectDceStubDataSetup(DetectEngineCtx *de_ctx, Signature *s, char *a } s->alproto = ALPROTO_DCERPC; + /* Flagged the signature as to inspect the app layer data */ + s->flags |= SIG_FLAG_APPLAYER; return 0; error: