From 83d2e1945959b02f63943804ed67ed156d43aa62 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 18 Oct 2012 18:28:05 +0200 Subject: omruleset: update to new message submit APIs/ratelimiter ... with the notable exception, that this module actualy needs no rate-limiter by design! --- plugins/omruleset/omruleset.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/omruleset/omruleset.c b/plugins/omruleset/omruleset.c index 6c770c94..fd002265 100644 --- a/plugins/omruleset/omruleset.c +++ b/plugins/omruleset/omruleset.c @@ -120,7 +120,11 @@ CODESTARTdoAction (char*) pData->pszRulesetName, pData->pRuleset); MsgSetFlowControlType(pMsg, eFLOWCTL_NO_DELAY); MsgSetRuleset(pMsg, pData->pRuleset); - submitMsg(pMsg); + /* Note: we intentionally use submitMsg2() here, as we process messages + * that were already run through the rate-limiter. So it is (at least) + * questionable if they were rate-limited again. + */ + submitMsg2(pMsg); finalize_it: ENDdoAction -- cgit v1.2.3