diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-04-09 18:15:53 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-04-09 18:15:53 +0000 |
commit | d53c3b80c454ada1cce73a2db5252acf7dc267f2 (patch) | |
tree | 7f90948778ab07af8bcd1db2167fc4e264187c3a /packet-wtp.c | |
parent | d1b5e90a50fea7bd3fc2731aeaf0ff870d7605ad (diff) |
From Tom Uijldert: properly decode the packet sequence number in WTP
Negative Ack packets.
svn path=/trunk/; revision=7429
Diffstat (limited to 'packet-wtp.c')
-rw-r--r-- | packet-wtp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-wtp.c b/packet-wtp.c index 96a57f0e8c..92de3b7355 100644 --- a/packet-wtp.c +++ b/packet-wtp.c @@ -2,7 +2,7 @@ * * Routines to dissect WTP component of WAP traffic. * - * $Id: packet-wtp.c,v 1.43 2003/03/05 07:17:50 guy Exp $ + * $Id: packet-wtp.c,v 1.44 2003/04/09 18:15:53 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -555,7 +555,7 @@ dissect_wtp_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Iterate through missing packets */ for (i = 0; i < numMissing; i++) { - proto_tree_add_item(wtp_tree, hf_wtp_header_sequence_number, tvb, offCur + i, 1, bo_little_endian); + proto_tree_add_item(wtp_tree, hf_wtp_header_sequence_number, tvb, offCur + 4 + i, 1, bo_little_endian); } break; |