From: Eric Leblond Date: Thu, 27 Feb 2014 17:12:37 +0000 (+0100) Subject: ipfw: update running modes to hide device stats X-Git-Tag: suricata-2.0rc2~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c48a81f91dacc91761618792cbb3ef2d553e59a;p=thirdparty%2Fsuricata.git ipfw: 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. --- diff --git a/src/runmode-ipfw.c b/src/runmode-ipfw.c index 5ba9e92a4f..695144ea5e 100644 --- a/src/runmode-ipfw.c +++ b/src/runmode-ipfw.c @@ -82,6 +82,8 @@ int RunModeIpsIPFWAuto(DetectEngineCtx *de_ctx) TimeModeSetLive(); + LiveDeviceHasNoStats(); + ret = RunModeSetIPSAuto(de_ctx, IPFWGetThread, "ReceiveIPFW", @@ -102,6 +104,8 @@ int RunModeIpsIPFWAutoFp(DetectEngineCtx *de_ctx) TimeModeSetLive(); + LiveDeviceHasNoStats(); + ret = RunModeSetIPSAutoFp(de_ctx, IPFWGetThread, "ReceiveIPFW", @@ -121,6 +125,8 @@ int RunModeIpsIPFWWorker(DetectEngineCtx *de_ctx) TimeModeSetLive(); + LiveDeviceHasNoStats(); + ret = RunModeSetIPSWorker(de_ctx, IPFWGetThread, "ReceiveIPFW",