default_mode_auto is not used anymore and can be removed.
extern int max_pending_packets;
-static const char *default_mode_auto = NULL;
static const char *default_mode_autofp = NULL;
const char *RunModeAFPGetDefaultMode(void)
void RunModeIdsAFPRegister(void)
{
- default_mode_auto = "autofp";
RunModeRegisterNewRunMode(RUNMODE_AFP_DEV, "auto",
"Multi threaded af-packet mode",
RunModeIdsAFPAuto);
#include "util-runmodes.h"
#include "util-device.h"
-static const char *default_mode_auto = NULL;
static const char *default_mode_autofp = NULL;
void RunModeIdsPfringRegister(void)
{
- default_mode_auto = "autofp";
RunModeRegisterNewRunMode(RUNMODE_PFRING, "auto",
"Multi threaded pfring mode",
RunModeIdsPfringAuto);