diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2011-03-01 10:53:58 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2011-03-01 10:53:58 +0000 |
commit | aa9102b72f5a511cca63206c464c2f88bc2dd335 (patch) | |
tree | a047b58002295fac46fa8f76e531304b72af9d72 /epan | |
parent | 91fe31c9b48d899666a0f7851e2f30d6960dc3b8 (diff) | |
download | wireshark-aa9102b72f5a511cca63206c464c2f88bc2dd335.tar.gz wireshark-aa9102b72f5a511cca63206c464c2f88bc2dd335.tar.bz2 wireshark-aa9102b72f5a511cca63206c464c2f88bc2dd335.zip |
Was reading F in mac-is descriptors the wrong way around...
svn path=/trunk/; revision=36106
Diffstat (limited to 'epan')
-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; } } |