1 | initial version |
*conv_frames = *conv_frames + 1;
This won't work because of the following.
A dissector needs to be able to dissect any tvb it gets, whereby the only guarantee is that when PINFO_FD_VISITED(pinfo) is FALSE the packets are fead to the dissectors in sequence. Any other time they might be coming in any random order, e.g., when clicking on a packet in the packet list to look at the packet details.
This is what you experience when using tshark, by default it runs once through the packets, sequentially. Try tshark -2 and see what happens then.