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-http.c | |
parent | 421e391953575a91959ba2323a735958b45d80fe (diff) | |
download | wireshark-75cc056222900115ffab82bd5e976cd359582dea.tar.gz wireshark-75cc056222900115ffab82bd5e976cd359582dea.tar.bz2 wireshark-75cc056222900115ffab82bd5e976cd359582dea.zip |
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-http.c')
-rw-r--r-- | packet-http.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-http.c b/packet-http.c index 94b4f5c150..03724fc97b 100644 --- a/packet-http.c +++ b/packet-http.c @@ -3,7 +3,7 @@ * * Guy Harris <guy@alum.mit.edu> * - * $Id: packet-http.c,v 1.42 2001/12/03 03:59:35 guy Exp $ + * $Id: packet-http.c,v 1.43 2001/12/08 06:41:41 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -414,7 +414,8 @@ proto_register_http(void) * This only works for protocols such as IPP that run over * HTTP on a specific non-HTTP port. */ - subdissector_table = register_dissector_table("http.port"); + subdissector_table = register_dissector_table("http.port", + "TCP port for protocols using HTTP", FT_UINT16, BASE_DEC); /* * Heuristic dissectors SHOULD register themselves in |