aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2015-01-03 20:44:06 +0100
committerAnders Broman <a.broman58@gmail.com>2015-01-04 12:06:38 +0000
commit83ac5b752a881a67c8ff08335761acd5a6ccb18c (patch)
tree6a8c04c71e5d84fa4dfbb5a7897b897041c75337 /epan
parent98ba63005ca9de7f1f36baee469fc4b9bc37bdc2 (diff)
GTPv2: fix Logically dead code (CID 1255924)
Change-Id: Ia21d8f68b5d898b4493da8cf948ad421f94234fc Reviewed-on: https://code.wireshark.org/review/6278 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-gtpv2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gtpv2.c b/epan/dissectors/packet-gtpv2.c
index 8c8b7b68cd..f2ce0dfd3e 100644
--- a/epan/dissectors/packet-gtpv2.c
+++ b/epan/dissectors/packet-gtpv2.c
@@ -1777,7 +1777,7 @@ dissect_gtpv2_ind(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, proto_ite
proto_tree_add_item(tree, hf_gtpv2_aopi, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
- if (length == 4) {
+ if (length == 5) {
return;
}