aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2014-01-14 16:23:38 +0000
committerPascal Quantin <pascal.quantin@gmail.com>2014-01-14 16:23:38 +0000
commiteabf15f80ac98a00a738fffe718f37a04138ac41 (patch)
treec00c4b9b825eeab15eceb0f69cdf26bd850dcaf5 /epan/dissectors
parent293f8ca2478e075a39d06a1f3fe5f5f1bbdb0c2b (diff)
Fix dissection of 3GPP2 SMS encoded in UCS2
svn path=/trunk/; revision=54787
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-ansi_637.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-ansi_637.c b/epan/dissectors/packet-ansi_637.c
index 1b66bfdc57..b75308b83d 100644
--- a/epan/dissectors/packet-ansi_637.c
+++ b/epan/dissectors/packet-ansi_637.c
@@ -532,6 +532,8 @@ text_decoder(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint32 offset
case 0x04: /* UNICODE */
+ offset = 0;
+
proto_tree_add_item(tree, hf_ansi_637_tele_user_data_text, tvb_out, offset, num_fields*2, ENC_UCS_2|ENC_BIG_ENDIAN);
break;