aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-19 05:51:52 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-19 05:51:52 +0000
commit1541aa95ff29389291f2989db59bfb7f417aef7d (patch)
tree168467a1bf8fec021e437b678f4ac2869565f8fe /dumpcap.c
parent0650d64f52ea4d4a45d89996a5e7333935483908 (diff)
Actually use the defaults from the last commit message.
... and switch off debug output. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37285 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dumpcap.c b/dumpcap.c
index a56e0ec2fc..19c74fe96a 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -120,7 +120,7 @@
*/
#include "wiretap/libpcap.h"
-#define DEBUG_DUMPCAP
+/**#define DEBUG_DUMPCAP**/
/**#define DEBUG_CHILD_DUMPCAP**/
#ifdef _WIN32
@@ -142,8 +142,8 @@ FILE *debug_log; /* for logging debug messages to */
static GAsyncQueue *pcap_queue;
static gint64 pcap_queue_bytes;
static gint64 pcap_queue_packets;
-static gint64 pcap_queue_byte_limit = 1000000;
-static gint64 pcap_queue_packet_limit = 1;
+static gint64 pcap_queue_byte_limit = 1024 * 1024;
+static gint64 pcap_queue_packet_limit = 1000;
static gboolean capture_child = FALSE; /* FALSE: standalone call, TRUE: this is an Wireshark capture child */
#ifdef _WIN32