aboutsummaryrefslogtreecommitdiffstats
path: root/packet-osi.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-12-08 06:41:48 +0000
committerGuy Harris <guy@alum.mit.edu>2001-12-08 06:41:48 +0000
commit75cc056222900115ffab82bd5e976cd359582dea (patch)
tree2553b2a2b59a716626785e76b2f2782370b8199a /packet-osi.c
parent421e391953575a91959ba2323a735958b45d80fe (diff)
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
Diffstat (limited to 'packet-osi.c')
-rw-r--r--packet-osi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-osi.c b/packet-osi.c
index de3a9462de..92840d9c96 100644
--- a/packet-osi.c
+++ b/packet-osi.c
@@ -2,7 +2,7 @@
* Routines for ISO/OSI network and transport protocol packet disassembly
* Main entrance point and common functions
*
- * $Id: packet-osi.c,v 1.50 2001/12/03 03:59:37 guy Exp $
+ * $Id: packet-osi.c,v 1.51 2001/12/08 06:41:41 guy Exp $
* Laurent Deniel <deniel@worldnet.fr>
* Ralf Schneider <Ralf.Schneider@t-online.de>
*
@@ -181,7 +181,8 @@ proto_register_osi(void)
/* There's no "OSI" protocol *per se*, but we do register a
dissector table so various protocols running at the
network layer can register themselves. */
- osinl_subdissector_table = register_dissector_table("osinl");
+ osinl_subdissector_table = register_dissector_table("osinl",
+ "OSI NLPID", FT_UINT8, BASE_HEX);
}
void