aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-acr122.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-acr122.c')
-rw-r--r--epan/dissectors/packet-acr122.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-acr122.c b/epan/dissectors/packet-acr122.c
index a1dbdebdaa..35ec230296 100644
--- a/epan/dissectors/packet-acr122.c
+++ b/epan/dissectors/packet-acr122.c
@@ -305,7 +305,7 @@ dissect_acr122(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
}
sub_item = proto_tree_add_uint(main_tree, hf_command, tvb, offset, 4 + length, command);
- PROTO_ITEM_SET_GENERATED(sub_item);
+ proto_item_set_generated(sub_item);
if (command == CMD_UNKNOWN)
expert_add_info(pinfo, sub_item, &ei_unknown_command_or_invalid_parameters);
@@ -491,13 +491,13 @@ dissect_acr122(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
}
sub_item = proto_tree_add_uint(main_tree, hf_response, tvb, offset, tvb_captured_length_remaining(tvb, offset), command);
- PROTO_ITEM_SET_GENERATED(sub_item);
+ proto_item_set_generated(sub_item);
col_add_fstr(pinfo->cinfo, COL_INFO, "Response: %s", val_to_str_ext_const(command, &command_vals_ext, "Unknown"));
if (command != CMD_UNKNOWN) {
sub_item = proto_tree_add_uint(main_tree, hf_response_for, tvb, offset, tvb_captured_length_remaining(tvb, offset), command_frame_number);
- PROTO_ITEM_SET_GENERATED(sub_item);
+ proto_item_set_generated(sub_item);
}
switch (command) {