tcpdump mailing list archives

Re: Endless pcap_stats + patch


From: Guy Harris <guy () alum mit edu>
Date: Wed, 21 Nov 2007 13:04:52 -0800

Max Laier wrote:

this problem was reported by Giorgos Keramidas as a FreeBSD PR.

When dumpping from a file (-r) hitting ^T (sending SIGINFO) results in an endless stream of "pcap_stats: Statistics aren't available from savefiles". The attached patch should fix this and other possible error cases of pcap_stats.

Checked in - along with a change not to bother catching SIGINFO at all if tcpdump is reading from a file rather than doing a live capture, so you won't get any errors.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: