]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
bypass: flow bypass is not ebpf only
authorEric Leblond <eric@regit.org>
Tue, 11 Jun 2019 20:05:59 +0000 (22:05 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
src/flow-bypass.c

index d15b44da402be0c09bff35f23a7dcde263fb7492..5c8445a016e1e63b3c874436d930048e8d534cc4 100644 (file)
@@ -57,7 +57,6 @@ BypassedUpdateFuncItem updatefunclist[BYPASSFUNCMAX];
 
 static TmEcode BypassedFlowManager(ThreadVars *th_v, void *thread_data)
 {
-#ifdef HAVE_PACKET_EBPF
     int tcount = 0;
     int i;
     BypassedFlowManagerThreadData *ftd = thread_data;
@@ -103,7 +102,6 @@ static TmEcode BypassedFlowManager(ThreadVars *th_v, void *thread_data)
             usleep(10000);
         }
     }
-#endif
     return TM_ECODE_OK;
 }