Date: Thu, 7 Dec 2000 00:00:26 -0800
From: Guy Harris <gharris@xxxxxxxxxxxx>
> On Thu, Dec 07, 2000 at 06:52:43PM +1100, C. L. McAvaney wrote:
> > I have noticed that when I run tethereal with the -V option I get differe
>nt
> > data to when I remove the -V option.
>
> "Different data" in what sense? The information in the summary line
> printed when you run Tethereal without "-V" doesn't match the
> information in the detailed description of the packet printed when you
> run Tethereal with "-V"?
>
> Does the same thing happen with Ethereal? I.e., if you click on a packet
> in the packet list window, does the detailed description in the protocol
> tree pane conflict with the summary information in the line you clicked
> on?
Well I think I have found the problem just after I sent the e-mail.
Within the dissector I have an:
if( tree )
{
/* code that adds stuff to the tree and also changes the offset along */
}
/* pass up to the next sub-dissector */
What I have forgotten to do is adjust the offset if there is no tree (which is
the case in tethereal without the -V. I am about to try out that change and
see how it goes. Feel like a bit of an idiot really, should have checked that.
Oh well....thanks for you reply though.
...
yep it did work!
Christopher
,,,
(. .)
/-----.oOO--(_)--OOo.-------------------------------------------------\
| Christopher McAvaney chrismc@xxxxxxxxxxxxx |
| c.mcavaney@xxxxxxx |
| c.mcavaney@xxxxxxxx |
| phone: +61+3+52272960 c.mcavaney@xxxxxxxxxxxx |
| fax: +61+3+52272028 http://www.cm.deakin.edu.au/~chrismc |
\---------------------------------------------------------------------/