]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ipfw: update running modes to hide device stats
authorEric Leblond <eric@regit.org>
Thu, 27 Feb 2014 17:12:37 +0000 (18:12 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 3 Mar 2014 09:14:36 +0000 (10:14 +0100)
This patch adds call to the function used to disable the display
of live device stats at exit.

src/runmode-ipfw.c

index 5ba9e92a4fbd6169f8e2d64e0c2ecf1c3240e260..695144ea5ee2af3c309a5354746d4f71ebe2095f 100644 (file)
@@ -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",