Actually use the defaults from the last commit message.
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 19 May 2011 05:51:52 +0000 (05:51 +0000)
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 19 May 2011 05:51:52 +0000 (05:51 +0000)
... and switch off debug output.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37285 f5534014-38df-0310-8fa8-9805f1628bb7

dumpcap.c

index a56e0ec2fc88d069774a61902db84f266e7dcdb0..19c74fe96a857e3c58d2726ded6a722a75f7d951 100644 (file)
--- a/dumpcap.c
+++ b/dumpcap.c
  */
 #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