From 1b11165864bd39a6243c5e554735c4c01587e52c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Mon, 14 Oct 2013 16:33:23 +0200 Subject: [PATCH] Reset both sides of the de_state on rule reload. Bug #998. --- src/detect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/detect.c b/src/detect.c index 79b60365e3..d2a4d1bda0 100644 --- a/src/detect.c +++ b/src/detect.c @@ -1206,7 +1206,7 @@ int SigMatchSignatures(ThreadVars *th_v, DetectEngineCtx *de_ctx, DetectEngineTh /* reset because of ruleswap */ if (reset_de_state) { SCMutexLock(&p->flow->de_state_m); - DetectEngineStateReset(p->flow->de_state, flags); + DetectEngineStateReset(p->flow->de_state, (STREAM_TOSERVER|STREAM_TOCLIENT)); SCMutexUnlock(&p->flow->de_state_m); } -- 2.47.2