diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2013-07-06 21:07:42 +0000 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2013-07-06 21:07:42 +0000 |
commit | 218608f1a222d8fc35c0e1cfbc88249f339c7e34 (patch) | |
tree | 79e3e2c901d28a22a35838a2bae6b66cd484cda6 /epan | |
parent | b2475c1c29950a578271d52c82855be6e7b07f9e (diff) |
Count SDUs even when dumping only the MAC header
svn path=/trunk/; revision=50420
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-mac-lte.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mac-lte.c b/epan/dissectors/packet-mac-lte.c index 5a990c3068..1142ac8423 100644 --- a/epan/dissectors/packet-mac-lte.c +++ b/epan/dissectors/packet-mac-lte.c @@ -3013,6 +3013,8 @@ static void dissect_ulsch_or_dlsch(tvbuff_t *tvb, packet_info *pinfo, proto_tree for (n=0; n < number_of_headers; n++) { /* Get out of loop once see any data SDU subheaders */ if (lcids[n] <= 10) { + /* Update tap sdu count for this channel */ + tap_info->sdus_for_lcid[lcids[n]]++; break; } @@ -3742,7 +3744,6 @@ static void dissect_ulsch_or_dlsch(tvbuff_t *tvb, packet_info *pinfo, proto_tree /* Update tap byte count for this channel */ tap_info->bytes_for_lcid[lcids[n]] += data_length; - tap_info->sdus_for_lcid[lcids[n]]++; } |