aboutsummaryrefslogtreecommitdiffstats
path: root/packet-gre.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-12-08 06:41:48 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2001-12-08 06:41:48 +0000
commit475cbb65a26799d24278e606d7ffcd0d407a1619 (patch)
tree2553b2a2b59a716626785e76b2f2782370b8199a /packet-gre.c
parenta80c006d929d575c46b2df54453504c62c391de0 (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4358 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-gre.c')
-rw-r--r--packet-gre.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-gre.c b/packet-gre.c
index 5ec6dc7db2..230cd4f913 100644
--- a/packet-gre.c
+++ b/packet-gre.c
@@ -2,7 +2,7 @@
* Routines for the Generic Routing Encapsulation (GRE) protocol
* Brad Robel-Forrest <brad.robel-forrest@watchguard.com>
*
- * $Id: packet-gre.c,v 1.47 2001/12/03 03:59:34 guy Exp $
+ * $Id: packet-gre.c,v 1.48 2001/12/08 06:41:41 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -375,7 +375,8 @@ proto_register_gre(void)
proto_register_subtree_array(ett, array_length(ett));
/* subdissector code */
- gre_dissector_table = register_dissector_table("gre.proto");
+ gre_dissector_table = register_dissector_table("gre.proto",
+ "GRE protocol type", FT_UINT16, BASE_HEX);
}
void