Ethereal

Re: [Ethereal-dev] While writing to a pipe, getting some errorneous extra bytes between packets ?!?
Google
 
Web Ethereal.com

Home | Introduction | Documentation | Lists | FAQ | Development | Wiki | Bugs

Ethereal-dev: January 2006


Ulf Lamping wrote:

Agree, but how to set stdout into binary mode, any examples?

I could have a try if someone tells me how to do it :-)

Problem fixed :-)

Found it in wiretap/file_access.c, where it was missing a setmode call in the wtap_dump_fdopen() function, which is used by tethereal. Ethereal itself uses wtap_dump_open() which already addressed that problem.

I've also added a test case to the regression tests.

Regards, ULFL


Powered by MHonArc 2.6.10