diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-12-08 06:41:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-12-08 06:41:48 +0000 |
commit | 75cc056222900115ffab82bd5e976cd359582dea (patch) | |
tree | 2553b2a2b59a716626785e76b2f2782370b8199a /packet-fr.c | |
parent | 421e391953575a91959ba2323a735958b45d80fe (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-fr.c')
-rw-r--r-- | packet-fr.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-fr.c b/packet-fr.c index 5bb4c5ed4c..e830c2f40e 100644 --- a/packet-fr.c +++ b/packet-fr.c @@ -3,7 +3,7 @@ * * Copyright 2001, Paul Ionescu <paul@acorp.ro> * - * $Id: packet-fr.c,v 1.25 2001/12/03 03:59:34 guy Exp $ + * $Id: packet-fr.c,v 1.26 2001/12/08 06:41:41 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -416,7 +416,8 @@ void proto_register_fr(void) proto_register_field_array(proto_fr, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - fr_subdissector_table = register_dissector_table("fr.ietf"); + fr_subdissector_table = register_dissector_table("fr.ietf", + "Frame Relay NLPID", FT_UINT8, BASE_HEX); register_dissector("fr", dissect_fr_uncompressed, proto_fr); } |