diff options
author | Vasil Velichkov <vvvelichkov@gmail.com> | 2018-07-30 22:33:38 +0300 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-07-31 06:20:19 +0000 |
commit | 46cb95632965f53935b6191c7528d4af44592a1a (patch) | |
tree | 1fc355235ca78ac56c00f789643f1675a80987c2 | |
parent | 5fb611b5623638796f5ef8fed25846b40c8bbd1c (diff) |
sccp: Make "lr" a generated item rather than hidden to make it obvious that it exists.
Similar to the TCAP transaction IDs - hf_tcap_tid, hf_tcap_dtid and hf_tcap_otid.
Change-Id: Idf55c894f5c0e60844c03b7de89b56f632d0ed36
Reviewed-on: https://code.wireshark.org/review/28885
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-sccp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sccp.c b/epan/dissectors/packet-sccp.c index 54e2612d64..d3f0d59497 100644 --- a/epan/dissectors/packet-sccp.c +++ b/epan/dissectors/packet-sccp.c @@ -1704,7 +1704,7 @@ dissect_sccp_dlr_param(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guin sccp_info->dlr = tvb_get_letoh24(tvb, 0); proto_tree_add_uint(tree, hf_sccp_dlr, tvb, 0, length, sccp_info->dlr); lr_item = proto_tree_add_uint(tree, hf_sccp_lr, tvb, 0, length, sccp_info->dlr); - PROTO_ITEM_SET_HIDDEN(lr_item); + PROTO_ITEM_SET_GENERATED(lr_item); if (show_key_params) col_append_fstr(pinfo->cinfo, COL_INFO, "DLR=%d ", sccp_info->dlr); @@ -1724,7 +1724,7 @@ dissect_sccp_slr_param(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guin sccp_info->slr = tvb_get_letoh24(tvb, 0); proto_tree_add_uint(tree, hf_sccp_slr, tvb, 0, length, sccp_info->slr); lr_item = proto_tree_add_uint(tree, hf_sccp_lr, tvb, 0, length, sccp_info->slr); - PROTO_ITEM_SET_HIDDEN(lr_item); + PROTO_ITEM_SET_GENERATED(lr_item); if (show_key_params) col_append_fstr(pinfo->cinfo, COL_INFO, "SLR=%d ", sccp_info->slr); |