summaryrefslogtreecommitdiff
path: root/packet-q931.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-25 11:00:27 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-25 11:00:27 +0000
commitf90037ac8d4403d8d44c2e23d69dd4b7555c71bb (patch)
tree0dbe2c5a2d2d1a1d79a6b0ef69e9209b8a280447 /packet-q931.c
parentd1c36982c68e69ac686a8ba222cee0938d700a5d (diff)
downloadwireshark-f90037ac8d4403d8d44c2e23d69dd4b7555c71bb.tar.gz
Small bug fix.
svn path=/trunk/; revision=1105
Diffstat (limited to 'packet-q931.c')
-rw-r--r--packet-q931.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-q931.c b/packet-q931.c
index f8229b65f8..80ce7d556e 100644
--- a/packet-q931.c
+++ b/packet-q931.c
@@ -2,7 +2,7 @@
* Routines for Q.931 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q931.c,v 1.9 1999/11/25 10:01:16 guy Exp $
+ * $Id: packet-q931.c,v 1.10 1999/11/25 11:00:27 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -793,6 +793,8 @@ l2_done:
"Mode: %s",
val_to_str(octet & 0x60, q931_mode_vals,
"Unknown (0x%02X)"));
+ offset += 1;
+ len -= 1;
if (octet & Q931_IE_VL_EXTENSION)
goto l3_done;