Hi all,
I need to remove the proto_tree_add_text calls, and I wanted to know if
this is equivalent:
Before:
ti_channel = proto_tree_add_text(rtps_parameter_tree, tvb, off, 0,
"Channel[%u]", ch);
channel_tree = proto_item_add_subtree(ti_channel,
ett_rtps_locator_filter_channel);
Now:
channel_tree = proto_tree_add_subtree_format(rtps_parameter_tree,
tvb, off, 0,
ett_rtps_locator_filter_channel, &ti_channel, "Channel[%u]", ch);
Thanks!
Juanjo
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <[email protected]>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:[email protected]?subject=unsubscribe