This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

issue with add_new_data_source() in trunk 1.8.0

0

When I try to add dissectors that is not octet-aligned, I found as long as add the following highlighted code the contents of "Hex" view is disappeared. Does anyone know if this is an existing known issue for trunk 1.8.0?

  ...
  next_tvb = tvb_new_octet_aligned(tvb, offset, tbs[i]);
  add_new_data_source(pinfo, next_tvb, "MyProt PDU"); // add this line of code the HEX view is disappeared
  call_dissector(my_handle, next_tvb, pinfo, tree);
This question is marked "community wiki".

asked 07 Aug '12, 18:38

tools_hpp's gravatar image

tools_hpp
1222
accept rate: 0%