Project

General

Profile

Bug #453 » 0005-fix-detection-filter-unittests-to-reflect-recent-fix.patch

Anoop Saldanha, 04/24/2012 11:41 AM

View differences:

src/detect-detection-filter.c
SigMatchSignatures(&th_v, de_ctx, det_ctx, p);
alerts += PacketAlertCheck(p, 1);
if(alerts == 5)
if(alerts == 4)
result = 1;
SigGroupCleanup(de_ctx);
......
SigMatchSignatures(&th_v, de_ctx, det_ctx, p);
alerts += PacketAlertCheck(p, 10);
if (alerts == 1)
if (alerts == 0)
result = 1;
SigGroupCleanup(de_ctx);
(6-6/6)