ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Ethereal-dev: Re: [Ethereal-dev] PATCH - Allow editcap to report # of packets in file

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Mon, 26 Jul 2004 23:31:24 -0700
On Tue, Jul 27, 2004 at 01:40:13AM -0400, Ian Schorr wrote:
> Allows user to throw a -c command-line option that instructs editcap to 
> return the number of packets in a file to stdout.

The only code path it shares with the rest of editcap is the argument
parsing; does it belong in editcap, or does it belong in another
program, say "packet_count"?