Ethereal-dev: Re: [Ethereal-dev] While writing to a pipe, getting some errorneous extra bytes

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

From: Ulf Lamping <ulf.lamping@xxxxxx>
Date: Thu, 05 Jan 2006 12:43:41 +0100
Guy Harris wrote:

Ulf Lamping wrote:

I'm calling the following (under cygwin):

./tethereal -i 3 -c 10 -a duration:30 -F libpcap -w - > ./testout.pcap 2>./testout.txt


But it works OK if you do

    ./tethereal -i 3 -c 10 -a duration:30 -F libpcap -w testout.pcap

?

Yes, the test case "directly writing to a file" is working well.

Any ideas what is going on?

Regards, ULFL