aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q931.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2002-09-28 23:31:39 +0000
committerGerald Combs <gerald@wireshark.org>2002-09-28 23:31:39 +0000
commit5be7f32de9640bd70ad6795aaf16ef239de4c957 (patch)
tree60691cb43e5eded73c21539a4fca8650290e06ce /packet-q931.c
parentda3cdd9ce2c32b2d4109fd81c725b4e4a0d1ca39 (diff)
From Tomas Kukosa:
Offset shifting after Coding standard octet was missing. svn path=/trunk/; revision=6352
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 96b230a1ad..a9edf0acf8 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.47 2002/09/17 19:50:12 guy Exp $
+ * $Id: packet-q931.c,v 1.48 2002/09/28 23:31:39 gerald Exp $
*
* Modified by Andreas Sikkema for possible use with H.323
*
@@ -1983,6 +1983,8 @@ dissect_q931_high_layer_compat_ie(tvbuff_t *tvb, int offset, int len,
proto_tree_add_text(tree, tvb, offset, 1,
"Coding standard: %s",
val_to_str(coding_standard, q931_coding_standard_vals, NULL));
+ offset += 1;
+ len -= 1;
if (coding_standard != Q931_ITU_STANDARDIZED_CODING) {
/*
* We don't know how the call state is encoded,