Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Routines for registering dissectors with a"portnumber", and

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Dec 2010 11:22:17 -0700
On Mon, Dec 20, 2010 at 06:45:38PM +0100, news.gmane.com wrote:

> The first should be illustrated. The pinfo member fd points to a 
> structure that has been changed between 1.2.x and 1.4.x. You this 
> structure to retrieve the packet number, used to identify 
> conversations.

Using accessor functions to set and get values as in object-oriented 
programming instead of directly using the variables would help prevent 
problems like this.