aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sua.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-sua.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-sua.c')
-rw-r--r--packet-sua.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/packet-sua.c b/packet-sua.c
index a1ba464030..8d049f5ed4 100644
--- a/packet-sua.c
+++ b/packet-sua.c
@@ -6,7 +6,7 @@
*
* Copyright 2000, Michael Tüxen <Michael.Tuexen@icn.siemens.de>
*
- * $Id: packet-sua.c,v 1.2 2001/12/03 03:59:39 guy Exp $
+ * $Id: packet-sua.c,v 1.3 2001/12/08 06:41:42 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -2744,7 +2744,9 @@ proto_register_sua(void)
proto_register_subtree_array(ett, array_length(ett));
sua_module = prefs_register_protocol(proto_sua, NULL);
- sua_light_dissector_table = register_dissector_table("sual.subsystem_number");
+ sua_light_dissector_table = register_dissector_table("sual.subsystem_number",
+ "SUA Light subsystem number", FT_UINT16,
+ BASE_DEC);
prefs_register_enum_preference(sua_module,
"sua_version",