|
|
@ -1990,6 +1990,8 @@ static int InitSignalHandler(SCInstance *suri)
|
|
|
|
* Will be run once per pcap in unix-socket mode */
|
|
|
|
* Will be run once per pcap in unix-socket mode */
|
|
|
|
void PreRunInit(const int runmode)
|
|
|
|
void PreRunInit(const int runmode)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
/* Initialize Datasets to be able to use them with unix socket */
|
|
|
|
|
|
|
|
DatasetsInit();
|
|
|
|
if (runmode == RUNMODE_UNIX_SOCKET)
|
|
|
|
if (runmode == RUNMODE_UNIX_SOCKET)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
@ -2001,7 +2003,6 @@ void PreRunInit(const int runmode)
|
|
|
|
SCProfilingSghsGlobalInit();
|
|
|
|
SCProfilingSghsGlobalInit();
|
|
|
|
SCProfilingInit();
|
|
|
|
SCProfilingInit();
|
|
|
|
#endif /* PROFILING */
|
|
|
|
#endif /* PROFILING */
|
|
|
|
DatasetsInit();
|
|
|
|
|
|
|
|
DefragInit();
|
|
|
|
DefragInit();
|
|
|
|
FlowInitConfig(FLOW_QUIET);
|
|
|
|
FlowInitConfig(FLOW_QUIET);
|
|
|
|
IPPairInitConfig(FLOW_QUIET);
|
|
|
|
IPPairInitConfig(FLOW_QUIET);
|
|
|
|