From 8612cccda89ac78db8a41f1692b41f72a4e0a411 Mon Sep 17 00:00:00 2001 From: morriss Date: Wed, 15 Aug 2007 21:07:01 +0000 Subject: checkhf.pl found a couple bugs: hf_sccp_calling_itu_global_title_indicator and hf_sccp_ansi_isni_counter were never used (the former due to a typo, the latter due to oversight). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22510 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-sccp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-sccp.c') diff --git a/epan/dissectors/packet-sccp.c b/epan/dissectors/packet-sccp.c index 529a2255a2..d9df410a15 100644 --- a/epan/dissectors/packet-sccp.c +++ b/epan/dissectors/packet-sccp.c @@ -1197,7 +1197,7 @@ dissect_sccp_called_calling_param(tvbuff_t *tvb, proto_tree *tree, national == 0) { proto_tree_add_uint(call_ai_tree, called ? hf_sccp_called_itu_global_title_indicator - : hf_sccp_called_itu_global_title_indicator, + : hf_sccp_calling_itu_global_title_indicator, tvb, 0, ADDRESS_INDICATOR_LENGTH, gti); ssni = tvb_get_guint8(tvb, 0) & ITU_SSN_INDICATOR_MASK; @@ -1656,6 +1656,9 @@ dissect_sccp_isni_param(tvbuff_t *tvb, proto_tree *tree, guint length) proto_tree_add_uint(param_tree, hf_sccp_ansi_isni_ti, tvb, offset, ANSI_ISNI_ROUTING_CONTROL_LENGTH, ti); + proto_tree_add_item(param_tree, hf_sccp_ansi_isni_counter, tvb, offset, + ANSI_ISNI_ROUTING_CONTROL_LENGTH, TRUE); + offset += ANSI_ISNI_ROUTING_CONTROL_LENGTH; if ((ti >> ANSI_ISNI_TI_SHIFT) == ANSI_ISNI_TYPE_1) { @@ -2999,7 +3002,7 @@ proto_register_sccp(void) "", HFILL}}, { &hf_sccp_ansi_isni_counter, { "ISNI Counter", "sccp.isni.counter", - FT_UINT8, BASE_HEX, NULL, ANSI_ISNI_COUNTER_MASK, + FT_UINT8, BASE_DEC, NULL, ANSI_ISNI_COUNTER_MASK, "", HFILL}}, {&hf_sccp_xudt_msg_fragments, {"Message fragments", "sccp.msg.fragments", -- cgit v1.2.3