aboutsummaryrefslogtreecommitdiffstats
path: root/packet-afs.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-05-27 05:00:17 +0000
committerGuy Harris <guy@alum.mit.edu>2001-05-27 05:00:17 +0000
commitfe4dc960d30f21056e8e880777c8b1b81f4e008b (patch)
tree88fedb5d135404e7269804b55ff0443746eec268 /packet-afs.c
parent0dac81e3125a7fa7ab60504e377fec40aadaab47 (diff)
Call the AFS dissector through a handle.
Update Gerald's e-mail address. svn path=/trunk/; revision=3458
Diffstat (limited to 'packet-afs.c')
-rw-r--r--packet-afs.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/packet-afs.c b/packet-afs.c
index 2881bf0ee2..dda21efef7 100644
--- a/packet-afs.c
+++ b/packet-afs.c
@@ -8,10 +8,10 @@
* Portions based on information/specs retrieved from the OpenAFS sources at
* www.openafs.org, Copyright IBM.
*
- * $Id: packet-afs.c,v 1.30 2001/05/27 01:48:23 guy Exp $
+ * $Id: packet-afs.c,v 1.31 2001/05/27 05:00:17 guy Exp $
*
* Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@zing.org>
+ * By Gerald Combs <gerald@ethereal.com>
* Copyright 1998 Gerald Combs
*
* Copied from packet-tftp.c
@@ -181,7 +181,7 @@ afs_init_protocol(void)
* Dissection routines
*/
-void
+static void
dissect_afs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
int reply = 0;
@@ -1660,5 +1660,6 @@ proto_register_afs(void)
proto_register_field_array(proto_afs, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
register_init_routine(&afs_init_protocol);
-}
+ register_dissector("afs", dissect_afs, proto_afs);
+}