diff options
-rw-r--r-- | doc/README.developer | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/README.developer b/doc/README.developer index b3bbfbe006..504bae8565 100644 --- a/doc/README.developer +++ b/doc/README.developer @@ -1,4 +1,4 @@ -$Id: README.developer,v 1.41 2001/11/27 07:21:55 guy Exp $ +$Id: README.developer,v 1.42 2001/12/03 04:12:53 guy Exp $ This file is a HOWTO for Ethereal developers. It describes how to start coding a Ethereal protocol dissector and the use some of the important functions and @@ -85,7 +85,7 @@ code inside is needed only if you are using the "snprintf()" function. -The "$Id: README.developer,v 1.41 2001/11/27 07:21:55 guy Exp $" +The "$Id: README.developer,v 1.42 2001/12/03 04:12:53 guy Exp $" in the comment will be updated by CVS when the file is checked in; it will allow the RCS "ident" command to report which version of the file is currently checked out. @@ -95,7 +95,7 @@ version of the file is currently checked out. * Routines for PROTONAME dissection * Copyright 2000, YOUR_NAME <YOUR_EMAIL_ADDRESS> * - * $Id: README.developer,v 1.41 2001/11/27 07:21:55 guy Exp $ + * $Id: README.developer,v 1.42 2001/12/03 04:12:53 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -268,8 +268,11 @@ proto_register_PROTOABBREV(void) void proto_reg_handoff_PROTOABBREV(void) { - dissector_add("PARENT_SUBFIELD", ID_VALUE, dissect_PROTOABBREV, + dissector_handle_t PROTOABBREV_handle; + + PROTOABBREV_handle = create_dissector_handle(dissect_PROTOABBREV, proto_PROTOABBREV); + dissector_add("PARENT_SUBFIELD", ID_VALUE, PROTOABBREV_handle); } ------------------------------------Cut here------------------------------------ |