aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mtp3mg.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2011-09-28 19:46:24 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2011-09-28 19:46:24 +0000
commit1c4af9ad9c3845a07d4a067e2e9da316e345b9b4 (patch)
treed58510c6de45d14115a330ee0d4a22bbcfe169e0 /epan/dissectors/packet-mtp3mg.c
parente69df476e71d3d2f12a3db2f4fc49e9b960beb86 (diff)
The SRT/SRA test pattern is 16 bits in Japan, don't try to retrieve 32 bits of it.
svn path=/trunk/; revision=39179
Diffstat (limited to 'epan/dissectors/packet-mtp3mg.c')
-rw-r--r--epan/dissectors/packet-mtp3mg.c2
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,