aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-isup.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-isup.c')
-rw-r--r--epan/dissectors/packet-isup.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/epan/dissectors/packet-isup.c b/epan/dissectors/packet-isup.c
index b24444603e..cb089a5a7e 100644
--- a/epan/dissectors/packet-isup.c
+++ b/epan/dissectors/packet-isup.c
@@ -1891,6 +1891,7 @@ dissect_isup_called_party_number_parameter(tvbuff_t *parameter_tvb, proto_tree *
{
proto_item *address_digits_item;
proto_tree *address_digits_tree;
+ proto_item *hidden_item;
guint8 indicators1, indicators2;
guint8 address_digit_pair=0;
gint offset=0;
@@ -1944,8 +1945,9 @@ dissect_isup_called_party_number_parameter(tvbuff_t *parameter_tvb, proto_tree *
e164_info.E164_number_str = called_number;
e164_info.E164_number_length = i - 1;
dissect_e164_number(parameter_tvb, address_digits_tree, 2, (offset - 2), e164_info);
- proto_tree_add_string_hidden(address_digits_tree, hf_isup_called, parameter_tvb,
- offset - length, length, called_number);
+ hidden_item = proto_tree_add_string(address_digits_tree, hf_isup_called, parameter_tvb,
+ offset - length, length, called_number);
+ PROTO_ITEM_SET_HIDDEN(hidden_item);
} else {
proto_tree_add_string(address_digits_tree, hf_isup_called, parameter_tvb,
offset - length, length, called_number);
@@ -3646,6 +3648,7 @@ dissect_isup_calling_party_number_parameter(tvbuff_t *parameter_tvb, proto_tree
{
proto_item *address_digits_item;
proto_tree *address_digits_tree;
+ proto_item *hidden_item;
guint8 indicators1, indicators2;
guint8 address_digit_pair=0;
gint offset=0;
@@ -3703,8 +3706,9 @@ dissect_isup_calling_party_number_parameter(tvbuff_t *parameter_tvb, proto_tree
e164_info.E164_number_str = calling_number;
e164_info.E164_number_length = i - 1;
dissect_e164_number(parameter_tvb, address_digits_tree, 2, (offset - 2), e164_info);
- proto_tree_add_string_hidden(address_digits_tree, hf_isup_calling, parameter_tvb,
+ hidden_item = proto_tree_add_string(address_digits_tree, hf_isup_calling, parameter_tvb,
offset - length, length, calling_number);
+ PROTO_ITEM_SET_HIDDEN(hidden_item);
} else {
proto_tree_add_string(address_digits_tree, hf_isup_calling, parameter_tvb,
offset - length, length, calling_number);