aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q931.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-05-27 07:27:21 +0000
committerGuy Harris <guy@alum.mit.edu>2001-05-27 07:27:21 +0000
commit9baeab5cab7db334df4ce651a5c071d7dd7e2be9 (patch)
tree287d9a4873c3bfc79f4cd12c75fe42c06710c039 /packet-q931.c
parent34ff64ae9c1641b6af0eff785de60063930dc8c0 (diff)
Call the Q.931 dissector through a handle.
Update Gerald's e-mail address. svn path=/trunk/; revision=3462
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