aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q931.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-19 09:46:51 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-19 09:46:51 +0000
commita8dfc56400350815e203666d81316da4f1f2392b (patch)
tree0ad0686bf11f1a85dbafb9fac9baf9247286eddb /packet-q931.c
parent26288653d76aa13a3267a958b5f3fd62f0a67125 (diff)
downloadwireshark-a8dfc56400350815e203666d81316da4f1f2392b.tar.gz
wireshark-a8dfc56400350815e203666d81316da4f1f2392b.tar.bz2
wireshark-a8dfc56400350815e203666d81316da4f1f2392b.zip
There are no protocols under Q.931, so mark everything up to the end of
the frame as being Q.931 stuff. svn path=/trunk/; revision=1067
Diffstat (limited to 'packet-q931.c')
-rw-r--r--packet-q931.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-q931.c b/packet-q931.c
index ba16e52ea1..a79f0788de 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.7 1999/11/19 09:11:44 guy Exp $
+ * $Id: packet-q931.c,v 1.8 1999/11/19 09:46:51 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -1961,7 +1961,8 @@ dissect_q931(const u_char *pd, int offset, frame_data *fd, proto_tree *tree)
col_add_str(fd, COL_PROTOCOL, "Q.931");
if (tree) {
- ti = proto_tree_add_item(tree, proto_q931, offset, 3, NULL);
+ ti = proto_tree_add_item(tree, proto_q931, offset,
+ END_OF_FRAME, NULL);
q931_tree = proto_item_add_subtree(ti, ett_q931);
proto_tree_add_item(q931_tree, hf_q931_discriminator, offset, 1, pd[offset]);