FP Fixed bug in heuristic dissector

Change-Id: I6960c7b9a2fa1b9f86e06df5036b4e0bcf1dcfe0
Reviewed-on: https://code.wireshark.org/review/23898
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Darien Spencer 2017-10-14 13:59:35 +03:00 committed by Pascal Quantin
parent 9bba3866ff
commit 0943d6ee9d

View file

@ -4114,7 +4114,7 @@ heur_dissect_fp_dcch_over_dch(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tre
tfi = tvb_get_guint8(tvb, 2) & 0x1f;
/* Checking if this is a DCH frame with 0 TBs*/
if (captured_length == 0x00)
if (tfi == 0x00)
{
if (reported_length != 5 /* DL */ && reported_length != 7 /* UL */) {
return FALSE;