diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-05-27 07:15:26 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-05-27 07:15:26 +0000 |
commit | b0b6b2dce78b206ad16065926279807a1e8b8128 (patch) | |
tree | 20a09b5b68ef7d78b47752682a0eb5439014181d /packet-q2931.c | |
parent | da94805df628f0d6afbffb5fb23eadda5842f242 (diff) |
Call the Q.2931 dissector through a handle.
Update Gerald's e-mail address.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3460 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-q2931.c')
-rw-r--r-- | packet-q2931.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/packet-q2931.c b/packet-q2931.c index 52076426d4..7feff42a1a 100644 --- a/packet-q2931.c +++ b/packet-q2931.c @@ -2,10 +2,10 @@ * Routines for Q.2931 frame disassembly * Guy Harris <guy@alum.mit.edu> * - * $Id: packet-q2931.c,v 1.15 2001/04/17 06:43:19 guy Exp $ + * $Id: packet-q2931.c,v 1.16 2001/05/27 07:15:26 guy Exp $ * * Ethereal - Network traffic analyzer - * By Gerald Combs <gerald@zing.org> + * By Gerald Combs <gerald@ethereal.com> * Copyright 1998 * * @@ -1970,7 +1970,7 @@ dissect_q2931_ie(tvbuff_t *tvb, int offset, int len, proto_tree *tree, } } -void +static void dissect_q2931(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { int offset = 0; @@ -2132,4 +2132,6 @@ proto_register_q2931(void) proto_q2931 = proto_register_protocol("Q.2931", "Q.2931", "q2931"); proto_register_field_array (proto_q2931, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); + + register_dissector("q2931", dissect_q2931, proto_q2931); } |