aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q931.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-05-27 07:27:21 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-05-27 07:27:21 +0000
commitd0d8be41a4f2f518c34eaedeeec603d5fb66bcb0 (patch)
tree287d9a4873c3bfc79f4cd12c75fe42c06710c039 /packet-q931.c
parentb188881da1592d08e3a75ae72de90c4c2fbcc93f (diff)
Call the Q.931 dissector through a handle.
Update Gerald's e-mail address. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3462 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-q931.c')
-rw-r--r--packet-q931.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-q931.c b/packet-q931.c
index f8439cb364..17a24c2760 100644
--- a/packet-q931.c
+++ b/packet-q931.c
@@ -2,12 +2,12 @@
* Routines for Q.931 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q931.c,v 1.28 2001/03/30 07:57:38 guy Exp $
+ * $Id: packet-q931.c,v 1.29 2001/05/27 07:27:21 guy Exp $
*
* Modified by Andreas Sikkema for possible use with H.323
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998
*
*
@@ -2606,10 +2606,9 @@ dissect_q931_heur(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
return q931_dissector(tvb, pinfo, tree, TRUE);
}
-void
+static void
dissect_q931(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
- pinfo->current_proto = "Q.931";
q931_dissector(tvb, pinfo, tree, FALSE);
}
@@ -2643,6 +2642,7 @@ proto_register_q931(void)
proto_register_field_array (proto_q931, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
+ register_dissector("q931", dissect_q931, proto_q931);
}
void