aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-wsp.c')
-rw-r--r--epan/dissectors/packet-wsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wsp.c b/epan/dissectors/packet-wsp.c
index a162b0d4bc..7da7d7c2a7 100644
--- a/epan/dissectors/packet-wsp.c
+++ b/epan/dissectors/packet-wsp.c
@@ -4469,7 +4469,7 @@ add_headers (proto_tree *tree, tvbuff_t *tvb, int hf, packet_info *pinfo)
}
hidden_item = proto_tree_add_string(wsp_headers, hf_hdr_name_string,
tvb, hdr_start, offset - hdr_start, hdr_str);
- PROTO_ITEM_SET_HIDDEN(hidden_item);
+ proto_item_set_hidden(hidden_item);
} else if (hdr_id > 0) { /* Shorthand HCP switch */
codepage = hdr_id;
proto_tree_add_uint (wsp_headers, hf_wsp_header_shift_code,