Fix up the offsets in the list of segments.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 17 Apr 2002 08:30:17 +0000 (08:30 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 17 Apr 2002 08:30:17 +0000 (08:30 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5178 f5534014-38df-0310-8fa8-9805f1628bb7

packet-wtp.c

index fd167853b61c9a0b7b218b19ecd6e493f9fc9f94..f39c14e2f17008f3c968a4e31bbaffd151a6b915 100644 (file)
@@ -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) ) {