https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7190
Pascal Quantin <pascal.quantin@xxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pascal.quantin@xxxxxxxxx
--- Comment #3 from Pascal Quantin <pascal.quantin@xxxxxxxxx> 2012-04-24 08:29:56 PDT ---
Hi Niels,
regarding the following comment in your code:
/* how can I NOW change the gitem to print a list with
the first 16 gids? */
Have you tried playing with proto_item_append_text ?
Something like this (untested) code might fit your needs:
for (gids_i = 0 ; gids_i < gids_count ; gids_i++) {
gids_entry = tvb_get_ntohl(tvb,offset+0);
if (gtree)
proto_tree_add_uint(gtree, hf_rpc_auth_gid, tvb,
offset, 4, gids_entry);
if (tree) {
proto_item_append_text(gitem, " %d:%d)", gids_i, gids_entry);
}
offset+=4;
}
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.