|
|
|
@ -491,11 +491,11 @@ TmEcode ReceivePfringThreadInit(ThreadVars *tv, void *initdata, void **data)
|
|
|
|
pfconf->DerefFunc(pfconf);
|
|
|
|
pfconf->DerefFunc(pfconf);
|
|
|
|
SCFree(ptv);
|
|
|
|
SCFree(ptv);
|
|
|
|
return TM_ECODE_FAILED;
|
|
|
|
return TM_ECODE_FAILED;
|
|
|
|
} else {
|
|
|
|
|
|
|
|
pfring_set_application_name(ptv->pd, PROG_NAME);
|
|
|
|
|
|
|
|
pfring_version(ptv->pd, &version);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pfring_set_application_name(ptv->pd, PROG_NAME);
|
|
|
|
|
|
|
|
pfring_version(ptv->pd, &version);
|
|
|
|
|
|
|
|
|
|
|
|
/* We only set cluster info if the number of pfring threads is greater than 1 */
|
|
|
|
/* We only set cluster info if the number of pfring threads is greater than 1 */
|
|
|
|
ptv->threads = pfconf->threads;
|
|
|
|
ptv->threads = pfconf->threads;
|
|
|
|
|
|
|
|
|
|
|
|
|