Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal tethereal.c

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Mon, 31 May 2004 02:52:28 -0500 (CDT)
guy         2004/05/31 02:52:28 CDT

  Modified files:
    .                    tethereal.c 
  Log:
  Move the packet counting, dissecting, and filtering out of the "write
  packet" and "print packet" callbacks into a common routine, so that we
  don't count packets twice if we're counting and dissecting.
  
  Print the packet count with ^T iff we're not updating a displayed packet
  count as packets arrive, regardless of whether we're printing packet
  information, saving packets to a file, or both (tcpdump prints it
  regardless of whether it's printing packet information or saving packets
  to a file).
  
  Revision  Changes    Path
  1.240     +356 -359  ethereal/tethereal.c