aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-glusterfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-glusterfs.c')
-rw-r--r--epan/dissectors/packet-glusterfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-glusterfs.c b/epan/dissectors/packet-glusterfs.c
index 25970dbe36..78269342fd 100644
--- a/epan/dissectors/packet-glusterfs.c
+++ b/epan/dissectors/packet-glusterfs.c
@@ -516,7 +516,7 @@ gluster_rpc_dissect_dict(proto_tree *tree, tvbuff_t *tvb, int hfindex, int offse
roundup = rpc_roundup(len) - len;
ti = proto_tree_add_item_ret_uint(subtree, hf_gluster_dict_size, tvb, offset, 4, ENC_BIG_ENDIAN, &len);
proto_item_append_text(ti, " (%d bytes inc. RPC-roundup)", rpc_roundup(len));
- PROTO_ITEM_SET_GENERATED(ti);
+ proto_item_set_generated(ti);
offset += 4;
if (len == 0)
@@ -580,7 +580,7 @@ gluster_rpc_dissect_dict(proto_tree *tree, tvbuff_t *tvb, int hfindex, int offse
if (roundup) {
ti = proto_tree_add_item(subtree, hf_gluster_rpc_roundup_bytes, tvb, offset, -1, ENC_NA);
- PROTO_ITEM_SET_GENERATED(ti);
+ proto_item_set_generated(ti);
offset += roundup;
}