aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-netmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-netmon.c')
-rw-r--r--epan/dissectors/packet-netmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-netmon.c b/epan/dissectors/packet-netmon.c
index 44267b0213..51205c8dd2 100644
--- a/epan/dissectors/packet-netmon.c
+++ b/epan/dissectors/packet-netmon.c
@@ -409,7 +409,7 @@ dissect_netmon_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void*
if (pinfo->pseudo_header->netmon.title != NULL) {
ti = proto_tree_add_string(header_tree, hf_netmon_header_title_comment, tvb, 0, 0, pinfo->pseudo_header->netmon.title);
- PROTO_ITEM_SET_GENERATED(ti);
+ proto_item_set_generated(ti);
}
if (pinfo->pseudo_header->netmon.description != NULL) {
@@ -421,7 +421,7 @@ dissect_netmon_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void*
comment = wmem_strndup(wmem_packet_scope(), pinfo->pseudo_header->netmon.description, pinfo->pseudo_header->netmon.descLength);
ti = proto_tree_add_string(header_tree, hf_netmon_header_description_comment, tvb, 0, 0, comment);
- PROTO_ITEM_SET_GENERATED(ti);
+ proto_item_set_generated(ti);
}
/* Save the pseudo header data to a temp variable before it's copied to