diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-28 19:46:24 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-09-28 19:46:24 +0000 |
commit | b9acf14fbcee18ad2734fefd715268bc9cfe3235 (patch) | |
tree | d58510c6de45d14115a330ee0d4a22bbcfe169e0 | |
parent | 15c723d2a8e680cf63131b27d8bbee8dac992a23 (diff) |
The SRT/SRA test pattern is 16 bits in Japan, don't try to retrieve 32 bits of it.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39179 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | epan/dissectors/packet-mtp3mg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mtp3mg.c b/epan/dissectors/packet-mtp3mg.c index 4585f760e4..056bc94a48 100644 --- a/epan/dissectors/packet-mtp3mg.c +++ b/epan/dissectors/packet-mtp3mg.c @@ -1067,7 +1067,7 @@ dissect_mtp3mg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) tvb, JAPAN_TEST_SPARE_OFFSET, JAPAN_TEST_SPARE_LENGTH, ENC_NA); - test_pattern = tvb_get_letohl(tvb, JAPAN_TEST_PATTERN_OFFSET); + test_pattern = tvb_get_letohs(tvb, JAPAN_TEST_PATTERN_OFFSET); pattern_item = proto_tree_add_item(mtp3mg_tree, hf_mtp3mg_japan_test_pattern, tvb, |