aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gtp.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-08-31 10:24:08 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-08-31 10:24:08 +0000
commit85b4d16277ed717582008f2ad62c620bf0a48fd0 (patch)
treecdd1083006c2e234cc57fd07d9380d72f8bb18df /epan/dissectors/packet-gtp.c
parentfe341f145ac3cf775a24ec28358205883bbd04f9 (diff)
Update the header length after dissecting the header.
This fixes bug 5162. svn path=/trunk/; revision=34031
Diffstat (limited to 'epan/dissectors/packet-gtp.c')
-rw-r--r--epan/dissectors/packet-gtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gtp.c b/epan/dissectors/packet-gtp.c
index df0460c6e3..67b10e4b36 100644
--- a/epan/dissectors/packet-gtp.c
+++ b/epan/dissectors/packet-gtp.c
@@ -6522,6 +6522,7 @@ static void dissect_gtp_common(tvbuff_t * tvb, packet_info * pinfo, proto_tree *
}
}
}
+ proto_item_set_len (ti, offset);
}
if ((gtp_hdr.message == GTP_MSG_TPDU) && g_gtp_tpdu) {