diff options
Diffstat (limited to 'epan/dissectors/packet-tns.c')
-rw-r--r-- | epan/dissectors/packet-tns.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tns.c b/epan/dissectors/packet-tns.c index 04ac945420..78e4eb522f 100644 --- a/epan/dissectors/packet-tns.c +++ b/epan/dissectors/packet-tns.c @@ -922,15 +922,15 @@ dissect_tns_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (pinfo->match_port == pinfo->destport) { - proto_tree_add_boolean_hidden(tns_tree, hf_tns_request, - tvb, offset, 0, TRUE); + hidden_item = proto_tree_add_boolean(tns_tree, hf_tns_request, + tvb, offset, 0, TRUE); } else { hidden_item = proto_tree_add_boolean(tns_tree, hf_tns_response, tvb, offset, 0, TRUE); - PROTO_ITEM_SET_HIDDEN(hidden_item); } + PROTO_ITEM_SET_HIDDEN(hidden_item); } length = tvb_get_ntohs(tvb, offset); |