pfring: fix warning

When PF_RING is disable this function is unused and thus trigger a
warning at compilation.
remotes/origin/master-1.1.x
Eric Leblond 14 years ago
parent 3f75b10f79
commit 730a86e6b8

@ -310,6 +310,7 @@ int PfringConfLevel()
return PFRING_CONF_V2;
}
#ifdef HAVE_PFRING
static int GetDevAndParser(char **live_dev, ConfigIfaceParserFunc *parser)
{
ConfGet("pfring.live-interface", live_dev);
@ -331,6 +332,7 @@ static int GetDevAndParser(char **live_dev, ConfigIfaceParserFunc *parser)
return 0;
}
#endif
/**
* \brief RunModeIdsPfringAuto set up the following thread packet handlers:

Loading…
Cancel
Save