Ethereal-dev: [Ethereal-dev] Workaround for problem on Mac OS X

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Mon, 31 Dec 2001 13:09:04 +0100
Dear all,

I finally figured out a workaround for a nasty 'feature' on
MacOS X which made the feature of 'real time sniffing' unusable.

The workaround:

replace the line

#define	CAP_READ_TIMEOUT	250

in capture.c by

#ifdef __APPLE__
#define	CAP_READ_TIMEOUT	1000
#else
#define	CAP_READ_TIMEOUT	250
#endif

I will report this stuff also to the darwin developer list in the hope
that libpcap will be fixed.

Best regards
Michael

Michael.Tuexen@xxxxxxxxxxxxxxxxx