Can you use add_new_data_source? That seems to be the way to do things, looking at other dissectors. Call tvb_set_child_real_data_tvbuff() to link the tvbuff ot the others, then call add_new_data_source() so the data source can be shown in the hex-dump pane of the GUI.
--gilbert
I am currently using tvb_set_child_real_data_tvbuff().
The issue is that get_field_data() in print.c iterates through the list of data sources to get the bytes referred to by a field_info.
I don't believe that removing the g_assert_not_reached() will have any negative side effects. It will simply mean that no bytes are printed if the tvb has not been added via add_new_data_source(). But I am not that familiar with the source code so I could be wrong.
James.
_______________________________________________ Ethereal-dev mailing list Ethereal-dev@xxxxxxxxxxxx http://www.ethereal.com/mailman/listinfo/ethereal-dev
Powered by MHonArc 2.6.10