]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
flag recieve acq tms that previously missed the receive_tm flag
authorAnoop Saldanha <poonaatsoc@gmail.com>
Wed, 11 Apr 2012 10:58:40 +0000 (16:28 +0530)
committerVictor Julien <victor@inliniac.net>
Thu, 12 Apr 2012 08:37:23 +0000 (10:37 +0200)
src/source-af-packet.c
src/source-erf-dag.c
src/source-ipfw.c
src/source-nfq.c
src/source-pfring.c

index 0d670bd5477091d42b2a2c24a2ff79d295e120d2..9ffec71222bf91aeef2aa35b91d39c6eb2bbf625 100644 (file)
@@ -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;
 }
 
 /**
index a6c04c2440239504d13ea35b223723afb1520f67..e2c66a8575c1e7465bfd26e4f2215824721631a5 100644 (file)
@@ -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;
 }
 
 /**
index 8cc88c7785d1a2e73549dd01b68fadf86a2f9c71..f81c79b1c060e013ea20196a3be02fa6c95feb02 100644 (file)
@@ -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;
 }
 
 /**
index aa7c7881dc7be19e377bb8130ec9adcb1b8fd8a8..8df666f588b7cea193d877dd31bbdb875db944b6 100644 (file)
@@ -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) {
index 90248ed90a55ed865d48bdd5827106930d25c1c5..ad1531d6798f6d80d1c68e7c9a7be043d2f3cf41 100644 (file)
@@ -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;
 }
 
 /**