I have edited the S1AP dissector to fit my own needs to display few info in the tree. The problem which I am facing is that I am getting the info of the previous packet. Hence, please do tell me how to correct this so that the correct info is displayed at correct place.
I am attaching the screen shot alongwith and also the following snippet contains the edited dissect_s1ap():
Screen-Shot link: http://postimg.org/image/56t7fkuxv/
asked 06 May ‘14, 04:22
edited 06 May ‘14, 04:47
Your code cannot work as you try to use globals that have not been populated with the current dissection yet (dissect_S1AP_PDU_PDU() function has not been called). Instead they contain the data of the previous packet (as you saw). The right way to do it would be something like:
answered 06 May ‘14, 06:38