aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-srp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-srp.c')
-rw-r--r--epan/dissectors/packet-srp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-srp.c b/epan/dissectors/packet-srp.c
index f9cdf7d002..9506e2beae 100644
--- a/epan/dissectors/packet-srp.c
+++ b/epan/dissectors/packet-srp.c
@@ -155,7 +155,7 @@ static int dissect_srp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree,
} else {
hidden_item = proto_tree_add_boolean(srp_tree, hf_srp_crc_bad, tvb,
crc_offset, 2, TRUE);
- PROTO_ITEM_SET_HIDDEN(hidden_item);
+ proto_item_set_hidden(hidden_item);
proto_tree_add_uint_format_value(srp_tree, hf_srp_crc, tvb,
crc_offset, 2, crc,
"0x%04x (incorrect, should be 0x%04x)",