|
|
|
|
@ -233,14 +233,9 @@ int RunModeIdsAFPAuto(DetectEngineCtx *de_ctx)
|
|
|
|
|
live_dev);
|
|
|
|
|
if (ret != 0) {
|
|
|
|
|
printf("ERROR: Unable to start runmode\n");
|
|
|
|
|
if (live_dev)
|
|
|
|
|
SCFree(live_dev);
|
|
|
|
|
exit(EXIT_FAILURE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (live_dev)
|
|
|
|
|
SCFree(live_dev);
|
|
|
|
|
|
|
|
|
|
SCLogInfo("RunModeIdsAFPAuto initialised");
|
|
|
|
|
#endif
|
|
|
|
|
SCReturnInt(0);
|
|
|
|
|
@ -271,14 +266,9 @@ int RunModeIdsAFPAutoFp(DetectEngineCtx *de_ctx)
|
|
|
|
|
live_dev);
|
|
|
|
|
if (ret != 0) {
|
|
|
|
|
printf("ERROR: Unable to start runmode\n");
|
|
|
|
|
if (live_dev)
|
|
|
|
|
SCFree(live_dev);
|
|
|
|
|
exit(EXIT_FAILURE);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (live_dev)
|
|
|
|
|
SCFree(live_dev);
|
|
|
|
|
|
|
|
|
|
SCLogInfo("RunModeIdsAFPAutoFp initialised");
|
|
|
|
|
|
|
|
|
|
#endif /* HAVE_AF_PACKET */
|
|
|
|
|
|