From 75cc056222900115ffab82bd5e976cd359582dea Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 8 Dec 2001 06:41:48 +0000 Subject: Attach a descriptive name field type and base to dissector tables; that specifies how the selector values used as keys in those tables are to be displayed, and the title to use when displaying the table. Use that information in the code to display the initial and current entries of various dissector tables. Have the dissector for BACnet APDUs register itself by name, and have the BACnet NPDU dissector call it iff the BAC_CONTROL_NET bit isn't set, rather than doing it with a dissector table. svn path=/trunk/; revision=4358 --- packet-ipx.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'packet-ipx.c') diff --git a/packet-ipx.c b/packet-ipx.c index f7e669b3d6..7e8d73d340 100644 --- a/packet-ipx.c +++ b/packet-ipx.c @@ -2,7 +2,7 @@ * Routines for NetWare's IPX * Gilbert Ramirez * - * $Id: packet-ipx.c,v 1.96 2001/12/03 03:59:35 guy Exp $ + * $Id: packet-ipx.c,v 1.97 2001/12/08 06:41:41 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -974,8 +974,10 @@ proto_register_ipx(void) proto_register_subtree_array(ett, array_length(ett)); - ipx_type_dissector_table = register_dissector_table("ipx.packet_type"); - ipx_socket_dissector_table = register_dissector_table("ipx.socket"); + ipx_type_dissector_table = register_dissector_table("ipx.packet_type", + "IPX packet type", FT_UINT8, BASE_HEX); + ipx_socket_dissector_table = register_dissector_table("ipx.socket", + "IPX socket", FT_UINT16, BASE_HEX); } void -- cgit v1.2.3