added a small comment

remotes/origin/master-1.0.x
Gurvinder Singh 17 years ago committed by Victor Julien
parent 7b56b4314b
commit 47eb168713

@ -667,6 +667,7 @@ int SigAddressPrepareStage1(DetectEngineCtx *de_ctx) {
tmp_s->flags |= SIG_FLAG_IPONLY; tmp_s->flags |= SIG_FLAG_IPONLY;
cnt_iponly++; cnt_iponly++;
//printf("(IP only)\n"); //printf("(IP only)\n");
/*see if any sig is inspecting the packet payload*/
} else if (SignatureIsInspectingPayload(de_ctx, tmp_s) == 1) { } else if (SignatureIsInspectingPayload(de_ctx, tmp_s) == 1) {
tmp_s->flags |= SIG_FLAG_PAYLOAD; tmp_s->flags |= SIG_FLAG_PAYLOAD;
cnt_payload++; cnt_payload++;
@ -2580,7 +2581,7 @@ void SigTableRegisterTests(void) {
* TESTS * TESTS
*/ */
//#ifdef UNITTESTS #ifdef UNITTESTS
#include "flow-util.h" #include "flow-util.h"
static int SigTest01Real (int mpm_type) { static int SigTest01Real (int mpm_type) {
@ -6527,7 +6528,7 @@ end:
return result; return result;
} }
//#endif /* UNITTESTS */ #endif /* UNITTESTS */
void SigRegisterTests(void) { void SigRegisterTests(void) {
#ifdef UNITTESTS #ifdef UNITTESTS

Loading…
Cancel
Save