good morning, everyone i need to display a message in à field , but it is too long , so when it is displayed , it is truncked , so i want to display this message like a raw data like in SIP protocol. can someone tell me if a special type fot that existe ?? Thank you. asked 22 Jul '13, 00:16 cruz |
2 Answers:
@cruz, I deleted your duplicate "answer" and your answer has been converted to a comment as that's how this site works. Please read the FAQ for more information. Have a look at the function answered 23 Jul '13, 06:21 grahamb ♦ thank you for your answer (23 Jul '13, 07:15) cruz @grahamb ♦ thank you very match it is the right function. Thank you, (24 Jul '13, 07:32) cruz If an answer has solved your issue, please accept the answer for the benefit of other users by clicking the checkmark icon next to the answer. Please read the FAQ for more information. (24 Jul '13, 08:11) grahamb ♦ |
After checking the code, I found that the item max length is defined as follows. proto.h
If you try to add text that is larger than 240 chars, it will be truncated and the item/field will be marked with [truncated]. At least that's how I understand the code ;-)
I'm not sure what you mean by raw data in SIP? Can you please add more details or a screenshot that shows it. Regards answered 22 Jul '13, 16:36 Kurt Knochner ♦ thank's for your answer, this is a screenshot foa a SIP trace , i want to display my msg like that, i mean that the message should be displayed line by line and not on one line. tahnk you. (23 Jul '13, 05:37) cruz |
can you please post a screenshot with the truncated message and add more details about your protocol and where exactly the message was truncated (GUI, tshark, your own dissector)?
This is a screenshot, the msg is too long so it is tunked when it is displayed , i want to display this msg in raw data exactly like in SIP protocol , because i need to display all the information, but i don't know if " raw data" is a special type or not !!!
thank you
I cannot find a dissector with a field name "Filename:" !?! If this your own dissector code?