aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/docsis/packet-docsis.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/docsis/packet-docsis.c')
-rw-r--r--plugins/docsis/packet-docsis.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/docsis/packet-docsis.c b/plugins/docsis/packet-docsis.c
index 0ec1d6ca73..9eca311ddc 100644
--- a/plugins/docsis/packet-docsis.c
+++ b/plugins/docsis/packet-docsis.c
@@ -2,7 +2,7 @@
* Routines for docsis dissection
* Copyright 2002, Anand V. Narwani <anarwani@cisco.com>
*
- * $Id: packet-docsis.c,v 1.6 2002/08/02 22:04:13 jmayer Exp $
+ * $Id: packet-docsis.c,v 1.7 2002/08/20 22:44:25 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -487,6 +487,15 @@ dissect_docsis (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
concatpos += framelen;
}
}
+
+ if ((fctype == FCTYPE_PACKET) && (pdulen == 0))
+ {
+ if (concatlen > 0)
+ {
+ concatlen = concatlen - framelen;
+ concatpos += framelen;
+ }
+ }
if (fctype == FCTYPE_MACSPC)
{
switch (fcparm)