Wireshark-dev: Re: [Wireshark-dev] WIMAX decoder is called twice
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 28 May 2007 00:16:13 -0700
Guy Harris wrote:

However, that *still* means it's called more than once. When a capture file is read in, each packet is dissected. After that, every time you click on a packet, it's dissected again.

I.e., even if we arrange that the dissector is only called once when you click on a packet, that still means it can be called more than once overall, as it'll be called once when the file is read, and then it'll be called every time you click on the packet, every time you print that packet or export it as text to a file, every time you run a statistical tap, etc., so all dissectors must support being called multiple times on the same packet.