aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q931.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-25 22:49:01 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-25 22:49:01 +0000
commite02dab4a85411ebfa5a6d2c6a6135650a57c643a (patch)
tree5fbfbdaf75f765eb2950079723621b798c31104c /packet-q931.c
parent298f3b240290361a76a63201b3ecf28d60d3fa88 (diff)
Minor bug fix.
svn path=/trunk/; revision=1109
Diffstat (limited to 'packet-q931.c')
-rw-r--r--packet-q931.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-q931.c b/packet-q931.c
index 80ce7d556e..136bca483e 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.10 1999/11/25 11:00:27 guy Exp $
+ * $Id: packet-q931.c,v 1.11 1999/11/25 22:49:01 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1024,7 +1024,7 @@ dissect_q931_cause_ie(const u_char *pd, int offset, int len,
if (len == 0)
return;
- proto_tree_add_text(tree, offset, 1,
+ proto_tree_add_text(tree, offset, len,
"Diagnostics: %s",
bytes_to_str(&pd[offset], len));
}