summaryrefslogtreecommitdiffstats
path: root/src/isi-gpds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isi-gpds.c')
-rw-r--r--src/isi-gpds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/isi-gpds.c b/src/isi-gpds.c
index ef6cfba..cff6f0c 100644
--- a/src/isi-gpds.c
+++ b/src/isi-gpds.c
@@ -772,8 +772,7 @@ static void dissect_isi_gpds(tvbuff_t *tvb, packet_info *pinfo, proto_item *isit
guint8 cmd;
if(isitree) {
- item = proto_tree_add_text(isitree, tvb, 0, -1, "Payload");
- tree = proto_item_add_subtree(item, ett_isi_msg);
+ tree = proto_tree_add_subtree_format(isitree, tvb, 0, -1, ett_isi_msg, &item, "Payload");
proto_tree_add_item(tree, hf_isi_gpds_cmd, tvb, 0, 1, FALSE);
cmd = tvb_get_guint8(tvb, 0);