aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_common.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-01-11 17:06:38 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-01-11 17:06:38 +0000
commit852c75636e3bd7db3cf11c3bf1b1eed917e4d191 (patch)
treea793cd9911fa96ce65d7716fc7e96d0ecd100c2c /epan/dissectors/packet-gsm_a_common.c
parentb2992b2310da1adefc46e0a9f6e43454ebd882f7 (diff)
Improve dissection of UE Time Zone.
svn path=/trunk/; revision=35477
Diffstat (limited to 'epan/dissectors/packet-gsm_a_common.c')
-rw-r--r--epan/dissectors/packet-gsm_a_common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-gsm_a_common.c b/epan/dissectors/packet-gsm_a_common.c
index 068b91cd5b..aec3d34744 100644
--- a/epan/dissectors/packet-gsm_a_common.c
+++ b/epan/dissectors/packet-gsm_a_common.c
@@ -1863,17 +1863,17 @@ de_mid(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len, gchar *add_st
a_bigbuf[0] = Dgt1_9_bcd.out[(oct & 0xf0) >> 4];
curr_offset++;
- poctets = tvb_get_ephemeral_string(tvb, curr_offset, len - (curr_offset - offset));
+ //poctets = tvb_get_ephemeral_string(tvb, curr_offset, len - (curr_offset - offset));
- my_dgt_tbcd_unpack(&a_bigbuf[1], poctets, len - (curr_offset - offset),
- &Dgt1_9_bcd);
+ //my_dgt_tbcd_unpack(&a_bigbuf[1], poctets, len - (curr_offset - offset),
+ // &Dgt1_9_bcd);
proto_tree_add_string_format(tree,
((oct & 0x07) == 3) ? hf_gsm_a_imeisv : hf_gsm_a_imsi,
tvb, curr_offset - 1, len - (curr_offset - offset) + 1,
a_bigbuf,
"BCD Digits: %s",
- a_bigbuf);
+ tvb_bcd_dig_to_ep_str(tvb, curr_offset - 1, -1, NULL, TRUE));
if (sccp_assoc && ! sccp_assoc->calling_party) {
sccp_assoc->calling_party = se_strdup_printf(