Skip to content

Commit

Permalink
There are no protocols under Q.931, so mark everything up to the end of
Browse files Browse the repository at this point in the history
the frame as being Q.931 stuff.

svn path=/trunk/; revision=1067
  • Loading branch information
guyharris committed Nov 19, 1999
1 parent 2628865 commit a8dfc56
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packet-q931.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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]);
Expand Down

0 comments on commit a8dfc56

Please sign in to comment.