aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2009-08-31 19:13:50 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2009-08-31 19:13:50 +0000
commit4a50092991aa24c21bd6864848ea86597114ae7b (patch)
tree6f9323cb75cf9b1c6de40055ce3af642231da05c /dumpcap.c
parent612f839c1fc149af845608719e112127952e69bd (diff)
downloadwireshark-4a50092991aa24c21bd6864848ea86597114ae7b.tar.gz
wireshark-4a50092991aa24c21bd6864848ea86597114ae7b.tar.bz2
wireshark-4a50092991aa24c21bd6864848ea86597114ae7b.zip
Use a timeout of a second for Mac OS X, when building
a 64-bit application. Workaround a bug in Mac OS X... svn path=/trunk/; revision=29641
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 82c921b083..fed2bfebb7 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -250,7 +250,11 @@ static loop_data global_ld;
/*
* Timeout, in milliseconds, for reads from the stream of captured packets.
*/
+#if defined(__APPLE__) && defined(__LP64__)
+#define CAP_READ_TIMEOUT 1000
+#else
#define CAP_READ_TIMEOUT 250
+#endif
/*
* Timeout, in microseconds, for threaded reads from a pipe.
*/