Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/wiretap csids.c dbs-etherwatch.c etherpeek.c

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Feb 2002 04:07:44 -0600 (CST)
guy         2002/02/08 04:07:43 CST

  Modified files:
    wiretap              csids.c dbs-etherwatch.c etherpeek.c 
                         i4btrace.c netmon.c nettl.c netxray.c 
                         ngsniffer.c radcom.c snoop.c toshiba.c 
                         vms.c 
  Log:
  Have Wiretap set the snapshot length to 0 if it can't be derived from
  reading the capture file.  Have callers of "wtap_snapshot_length()"
  treat a value of 0 as "unknown", and default to WTAP_MAX_PACKET_SIZE (so
  that, when writing a capture file in a format that *does* store the
  snapshot length, we can at least put *something* in the file).
  
  If we don't know the snapshot length of the current capture file, don't
  display a value in the summary window.
  
  Don't use "cfile.snap" as the snapshot length option when capturing -
  doing so causes Ethereal to default, when capturing, to the snapshot
  length of the last capture file that you read in, rather than to the
  snapshot length of the last capture you did (or the initial default of
  "no snapshot length").
  
  Redo the "Capture Options" dialog box to group options into sections
  with frames around them, and add units to the snapshot length, maximum
  file size, and capture duration options, as per a suggestion by Ulf
  Lamping.  Also add units to the capture count option.
  
  Make the snapshot length, capture count, maximum file size, and capture
  duration options into a combination of a check box and a spin button.
  If the check box is not checked, the limit in question is inactive
  (snapshot length of 65535, no max packet count, no max file size, no max
  capture duration); if it's checked, the spinbox specifies the limit.
  Default all of the check boxes to "not checked" and all of the spin
  boxes to small values.
  
  Use "gtk_toggle_button_get_active()" rather than directly fetching the
  state of a check box.
  
  Revision  Changes    Path
  1.9       +2 -2      ethereal/wiretap/csids.c
  1.3       +8 -3      ethereal/wiretap/dbs-etherwatch.c
  1.15      +2 -2      ethereal/wiretap/etherpeek.c
  1.16      +2 -2      ethereal/wiretap/i4btrace.c
  1.47      +2 -2      ethereal/wiretap/netmon.c
  1.22      +2 -2      ethereal/wiretap/nettl.c
  1.44      +2 -2      ethereal/wiretap/netxray.c
  1.71      +2 -2      ethereal/wiretap/ngsniffer.c
  1.32      +2 -2      ethereal/wiretap/radcom.c
  1.40      +2 -2      ethereal/wiretap/snoop.c
  1.20      +8 -3      ethereal/wiretap/toshiba.c
  1.6       +2 -2      ethereal/wiretap/vms.c