Ethereal-cvs: [Ethereal-cvs] r11404 - trunk/gtk: trunk/gtk/capture_if_dlg.c

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

Date: Sat, 17 Jul 2004 21:56:30 -0500 (CDT)
Author: guy
Date: Sat Jul 17 21:56:29 2004
New Revision: 11404

Modified:
   trunk/gtk/capture_if_dlg.c
Log:
Add some comments, and expand on a comment (if "pcap_stats()" returns
counts since the last call, not since the beginning of the capture, on
Windows, that's a bug - and that bug *does* exist on some UN*Xes).

Clean up indentation.

Use the minimum snapshot length, not the maximum snapshot length, when
opening a network interface to keep track of how many packets are
arriving on it (that might cause packet data to be discarded rather than
buffering it, reducing the overhead of running all those captures from
which we don't actually grab any packets.