From: Anoop Saldanha Date: Wed, 11 Apr 2012 10:58:40 +0000 (+0530) Subject: flag recieve acq tms that previously missed the receive_tm flag X-Git-Tag: suricata-1.3beta2~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4705e699ee808b223e089364cc278594db62c1;p=thirdparty%2Fsuricata.git flag recieve acq tms that previously missed the receive_tm flag --- diff --git a/src/source-af-packet.c b/src/source-af-packet.c index 0d670bd547..9ffec71222 100644 --- a/src/source-af-packet.c +++ b/src/source-af-packet.c @@ -211,6 +211,7 @@ void TmModuleReceiveAFPRegister (void) { tmm_modules[TMM_RECEIVEAFP].ThreadDeinit = NULL; tmm_modules[TMM_RECEIVEAFP].RegisterTests = NULL; tmm_modules[TMM_RECEIVEAFP].cap_flags = SC_CAP_NET_RAW; + tmm_modules[TMM_RECEIVEAFP].flags = TM_FLAG_RECEIVE_TM; } /** diff --git a/src/source-erf-dag.c b/src/source-erf-dag.c index a6c04c2440..e2c66a8575 100644 --- a/src/source-erf-dag.c +++ b/src/source-erf-dag.c @@ -121,6 +121,7 @@ TmModuleReceiveErfDagRegister(void) tmm_modules[TMM_RECEIVEERFDAG].ThreadDeinit = NULL; tmm_modules[TMM_RECEIVEERFDAG].RegisterTests = NULL; tmm_modules[TMM_RECEIVEERFDAG].cap_flags = 0; + tmm_modules[TMM_RECEIVEERFDAG].flags = TM_FLAG_RECEIVE_TM; } /** diff --git a/src/source-ipfw.c b/src/source-ipfw.c index 8cc88c7785..f81c79b1c0 100644 --- a/src/source-ipfw.c +++ b/src/source-ipfw.c @@ -156,6 +156,7 @@ void TmModuleReceiveIPFWRegister (void) { SC_CAP_NET_BIND_SERVICE | SC_CAP_NET_BROADCAST; /** \todo untested */ tmm_modules[TMM_RECEIVEIPFW].RegisterTests = NULL; + tmm_modules[TMM_RECEIVEIPFW].flags = TM_FLAG_RECEIVE_TM; } /** diff --git a/src/source-nfq.c b/src/source-nfq.c index aa7c7881dc..8df666f588 100644 --- a/src/source-nfq.c +++ b/src/source-nfq.c @@ -176,6 +176,7 @@ void TmModuleReceiveNFQRegister (void) { tmm_modules[TMM_RECEIVENFQ].ThreadExitPrintStats = ReceiveNFQThreadExitStats; tmm_modules[TMM_RECEIVENFQ].ThreadDeinit = ReceiveNFQThreadDeinit; tmm_modules[TMM_RECEIVENFQ].RegisterTests = NULL; + tmm_modules[TMM_RECEIVENFQ].flags = TM_FLAG_RECEIVE_TM; } void TmModuleVerdictNFQRegister (void) { diff --git a/src/source-pfring.c b/src/source-pfring.c index 90248ed90a..ad1531d679 100644 --- a/src/source-pfring.c +++ b/src/source-pfring.c @@ -148,6 +148,7 @@ void TmModuleReceivePfringRegister (void) { tmm_modules[TMM_RECEIVEPFRING].ThreadExitPrintStats = ReceivePfringThreadExitStats; tmm_modules[TMM_RECEIVEPFRING].ThreadDeinit = ReceivePfringThreadDeinit; tmm_modules[TMM_RECEIVEPFRING].RegisterTests = NULL; + tmm_modules[TMM_RECEIVEPFRING].flags = TM_FLAG_RECEIVE_TM; } /**