aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-e164.c
diff options
context:
space:
mode:
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-27 13:32:28 +0000
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>2011-04-27 13:32:28 +0000
commitb7694edae4024c75e5a2196260f5bbf151a6166b (patch)
treeda84c8630fd56054bd3eea91eaed81850342ade7 /epan/dissectors/packet-e164.c
parent2b8bc38b0ef959d23b95e895b75a8c87fdca3c81 (diff)
Put the length of the country code in parenthesis (for readability).
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36898 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-e164.c')
-rw-r--r--epan/dissectors/packet-e164.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-e164.c b/epan/dissectors/packet-e164.c
index dcdbe628c6..146daabd40 100644
--- a/epan/dissectors/packet-e164.c
+++ b/epan/dissectors/packet-e164.c
@@ -561,8 +561,9 @@ dissect_e164_cc(tvbuff_t *tvb, proto_tree *tree, int offset, gboolean bcd_coded)
break;
}/* end switch cc_length */
- proto_tree_add_text(tree, tvb, cc_offset, length,"Country Code: %x %s length %u", cc,
+ proto_tree_add_text(tree, tvb, cc_offset, length,"Country Code: %x %s (length %u)", cc,
val_to_str(cc,E164_country_code_value,"unknown (%x)"), cc_length);
+
switch ( cc ) {
case 0x882 :
id_code = tvb_get_ntohs(tvb, cc_offset + 1);