aboutsummaryrefslogtreecommitdiffstats
path: root/packet-wtp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-04-17 08:30:17 +0000
committerGuy Harris <guy@alum.mit.edu>2002-04-17 08:30:17 +0000
commit43141af937f24e1200fa40d27ad4f22a0360eb67 (patch)
treeb6c468055564abacc2cea76f1e7bc019db087881 /packet-wtp.c
parented3b0cae650759d673f0898febb1f6518774c9f6 (diff)
downloadwireshark-43141af937f24e1200fa40d27ad4f22a0360eb67.tar.gz
wireshark-43141af937f24e1200fa40d27ad4f22a0360eb67.tar.bz2
wireshark-43141af937f24e1200fa40d27ad4f22a0360eb67.zip
Fix up the offsets in the list of segments.
svn path=/trunk/; revision=5178
Diffstat (limited to 'packet-wtp.c')
-rw-r--r--packet-wtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-wtp.c b/packet-wtp.c
index fd167853b6..f39c14e2f1 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.31 2002/04/09 06:02:24 guy Exp $
+ * $Id: packet-wtp.c,v 1.32 2002/04/17 08:30:17 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -283,7 +283,7 @@ static void show_fragments(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
"Frame:%u payload:%u-%u",
fd->frame, offset, offset+fd->len-1);
}
- offset = fd->len;
+ offset += fd->len;
}
if (fd_head->flags & (FD_OVERLAPCONFLICT
|FD_MULTIPLETAILS|FD_TOOLONGFRAGMENT) ) {