Re: how to print error messages in dissector

Jaap Keuter <[email protected]>
Newsgroups gmane.network.ethereal.devel
Message-ID <[email protected]>
Hi,

There are two ways to do that:
1. use ptoto_tree_add_text to add a line of text to the packet details
2. use expert info functions to emit a note/warn/error which can be seen
from the relevant menu option.

case 1 is directly visible for the user, but only when selecting the
specific package

case 2 gives a more accessable overview, but has to be called up from the
menu, so is unavailable for tethereal


Thanx,
Jaap

On Fri, 2 Jun 2006, Raman Singla wrote:

> Hi all,
> I want display error message in dissector to users if certain
> conditions are not met. Kindly let me know how to print messages.
>
> Raman
> Ext - 1667
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.