aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.c
diff options
context:
space:
mode:
authorDarien Spencer <cusneud@mail.com>2017-10-14 13:59:35 +0300
committerPascal Quantin <pascal.quantin@gmail.com>2017-10-14 12:19:18 +0000
commit0943d6ee9da6d2691493600e82c6f4d938ddb3b2 (patch)
treecb24d73470b123c6ea43a47ca4d3ee1b0c731b52 /epan/dissectors/packet-umts_fp.c
parent9bba3866ffc0d382d511d298d2460c618bfa6c0d (diff)
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>
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r--epan/dissectors/packet-umts_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c
index 86b3d05be7..fb6a8d9d16 100644
--- a/epan/dissectors/packet-umts_fp.c
+++ b/epan/dissectors/packet-umts_fp.c
@@ -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;