Ethereal-dev: [Ethereal-dev] Problem with pinfo->cinfo in dissector

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

From: Alan <hallat@xxxxxxxxx>
Date: Fri, 22 Oct 2004 14:34:56 +0100
The answer to this is probably lurking in the list archive but I can't find it :-(

The cinfo element of the packet_info structure appears to be getting set to null after initial col_add_str to COL_INFO calls. I can't do any further col_append_str as check_col always returns false. *IS* this because pinfo->cinfo is nulled or is there something more to it?

I must add this is my first attempt at writing a dissector, I gather the dissector will be called multiple times/multiple passes? It would appear that everything is ok on the first pass as the initial string put into the info column does get set it's adding to it subsequently that is the problem..

TIA
Alan
only slightly confused :-)