Ethereal-dev: Re: [Ethereal-dev] New dissector - how to submit?

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 18 Nov 2003 20:28:11 -0800

On Nov 18, 2003, at 8:11 PM, Dave Sclarsky wrote:

aaaarg.  I hate when I do that (leave in the debug, that is)!
Thanks for the corrections, and the checkin!

There are some unused hf_ variables:

	packet-cpfi.c:77: warning: `hf_cpfi_time_stamp' defined but not used
	packet-cpfi.c:78: warning: `hf_cpfi_TBD' defined but not used
	packet-cpfi.c:82: warning: `hf_cpfi_EOF_error' defined but not used

Are those going to be used in the future?

Also, I changed the way it handled the body and footer, so that it'll work even if the frame is short (i.e., if you did a capture with a snapshot length not big enough for the entire frame).