nfq: update running modes to hide device stats

This patch adds call to the function used to disable the display
of live device stats at exit.
pull/852/merge
Eric Leblond 12 years ago committed by Victor Julien
parent 6b2ca63d9d
commit 00c8408c55

@ -44,6 +44,7 @@
#include "util-cpu.h"
#include "util-affinity.h"
#include "util-runmodes.h"
#include "util-device.h"
static const char *default_mode;
@ -98,6 +99,8 @@ int RunModeIpsNFQAuto(DetectEngineCtx *de_ctx)
TimeModeSetLive();
LiveDeviceHasNoStats();
ret = RunModeSetIPSAuto(de_ctx,
NFQGetThread,
"ReceiveNFQ",
@ -118,6 +121,8 @@ int RunModeIpsNFQAutoFp(DetectEngineCtx *de_ctx)
TimeModeSetLive();
LiveDeviceHasNoStats();
ret = RunModeSetIPSAutoFp(de_ctx,
NFQGetThread,
"ReceiveNFQ",
@ -137,6 +142,8 @@ int RunModeIpsNFQWorker(DetectEngineCtx *de_ctx)
TimeModeSetLive();
LiveDeviceHasNoStats();
ret = RunModeSetIPSWorker(de_ctx,
NFQGetThread,
"ReceiveNFQ",

Loading…
Cancel
Save