Ethereal-cvs: [Ethereal-cvs] Rev 11734: /trunk/: tethereal.c

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

Date: Fri, 13 Aug 2004 08:28:13 -0000
User: guy
Date: 2004/08/13 03:28 AM

Log:
 When opening an output file, use "file_snaplen" as the snapshot length,
 rather than "pcap_snapshot(ld.pch)" - we've set "file_snaplen" to
 "pcap_snapshot(ld.pch)" if we're capturing from a device, but if we're
 reading from a pipe, "ld.pch" is null (so we'll crash if we use it), and
 we've set "file_snaplen" from the header we've read from a pipe.

Directory: /trunk/
  Changes    Path           Action
  +2 -2      tethereal.c    Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=11734&view=rev