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

Wireshark-dev: [Wireshark-dev] Apply as Column not working correctly

From: Paul Offord <Paul.Offord@xxxxxxxxxxxx>
Date: Thu, 29 Sep 2016 07:21:08 +0000

Hi,

 

I’m debugging a problem with the transum dissector.  Repro steps are:

 

·        Right click on a TRANSUM RTE Data value such as APDU Rsp Time and choose Apply as Column

·        The column is added with the correct heading

·        If I look at the Column preferences I see the APDU Rsp Time column with a type of Custom and the correct field name of transum.art

·        I get a single callback through my dissector with PINFO_FD_VISITED(pinfo) == TRUE for frame 1 which is the frame I am displaying

·        None of my other callbacks are called

·        The APDU Rsp Time for frame 1 shows correctly in the column

·        No other APDU Rsp Time values appear in the packet list even though the tree is correctly constructed in the packet detail area

·        If I close the trace file and open it again all APDU Rsp Time values appear

 

If I use Apply as Column to a value from another dissector, such as TCP Segment Len, all values appear immediately.  Have I missed something in my code?

 

If you want to see the code it’s available here - https://code.wireshark.org/review/#/c/17750/

 

Thanks and regards…Paul


______________________________________________________________________

This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system.

Any views or opinions expressed are solely those of the author and do not necessarily represent those of Advance Seven Ltd. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.

Advance Seven Ltd. Registered in England & Wales numbered 2373877 at Endeavour House, Coopers End Lane, Stansted, Essex CM24 1SJ

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________