aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-11-17 23:51:31 +0000
committerGerald Combs <gerald@wireshark.org>2010-11-17 23:51:31 +0000
commit11a29504b7fc75071816c59500e3ac613dc436b1 (patch)
tree93082dde7e37551bd95f8f94b51cace8072e736e /dumpcap.c
parentda383952dfe4d678117d5e5b98a76f862dbc5a57 (diff)
Set the pipe read timeout to 100 milliseconds instead of 100 microseconds.
Should fix bug 5309. svn path=/trunk/; revision=34938
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dumpcap.c b/dumpcap.c
index f323f43ccc..818551dc59 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -299,13 +299,11 @@ static gboolean need_timeout_workaround;
* in OS X 10.6, 10.6.1, 10.6.3, and 10.6.4, so we always use a timeout
* of 250ms, i.e. the same value as CAP_READ_TIMEOUT when not on one
* of the offending versions of Snow Leopard.
- *
- * XXX - why is it 100 for threaded capturing?
*/
#ifndef USE_THREADS
#define PIPE_READ_TIMEOUT 250000
#else
-#define PIPE_READ_TIMEOUT 100
+#define PIPE_READ_TIMEOUT 100000
#endif
static const char *cap_pipe_err_str;