Ethereal-dev: Re: [Ethereal-dev] Frame Number

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 08 Dec 2004 10:30:51 -0800
S. Faizi wrote:
Hi, I want to print a message to stderr from within the dissector

Presumably this is a debugging message - dissectors in production code shouldn't write messages to the standard error.

Is frame number accessable from within the dissector?

As Luis noted, pinfo->fd->num is the current frame number.