diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-01 10:53:58 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-01 10:53:58 +0000 |
commit | 8c5ceb3e042cba4816a9d7b8a848b664ea38d24d (patch) | |
tree | a047b58002295fac46fa8f76e531304b72af9d72 /epan/dissectors/packet-umts_fp.c | |
parent | 2c74a6c6acb6f5a43c97a21c41b9dbb6431777df (diff) |
Was reading F in mac-is descriptors the wrong way around...
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36106 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index 3c41206d81..2425a8159d 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -2785,7 +2785,7 @@ static void dissect_e_dch_t2_or_common_channel_info(tvbuff_t *tvb, packet_info * subframes[n].number_of_mac_is_sdus[pdu_no]++; offset++; - } while (F); + } while (F == 0); } } @@ -2857,6 +2857,8 @@ static void dissect_e_dch_t2_or_common_channel_info(tvbuff_t *tvb, packet_info * proto_item_append_text(macis_pdu_ti, " - SS=%u TSN=%u (%u bytes in %u SDUs)", ss, tsn, subframe_bytes, subframes[n].number_of_mac_is_sdus[pdu_no]); + + proto_item_set_len(macis_pdu_ti, 1+subframe_bytes); total_bytes += subframe_bytes; } } |