diff options
author | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-03 16:18:06 +0000 |
---|---|---|
committer | wmeier <wmeier@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-08-03 16:18:06 +0000 |
commit | f4b8d39e875e5a5e8e20be700c5f9f4a6ba10ab8 (patch) | |
tree | df7aa6c99bf486e28a1584b8d9c8145630adb600 /plugins/mate | |
parent | 03a1672555318a40a93f1e9129a5cec73111c8cc (diff) |
Use find_dissector() instead of create_dissector_handle();
Fix some indentation.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29273 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins/mate')
-rw-r--r-- | plugins/mate/packet-mate.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/mate/packet-mate.c b/plugins/mate/packet-mate.c index d533a235f1..bbfa6484e6 100644 --- a/plugins/mate/packet-mate.c +++ b/plugins/mate/packet-mate.c @@ -368,18 +368,17 @@ void proto_register_mate(void) { module_t *mate_module; - dissector_handle_t mate_handle; + dissector_handle_t mate_handle; proto_mate = proto_register_protocol("Meta Analysis Tracing Engine", "MATE", "mate"); register_dissector("mate",mate_tree,proto_mate); mate_module = prefs_register_protocol(proto_mate, proto_reg_handoff_mate); prefs_register_string_preference(mate_module, "config", - "Configuration Filename", - "The name of the file containing the mate module's configuration", - &pref_mate_config_filename); + "Configuration Filename", + "The name of the file containing the mate module's configuration", + &pref_mate_config_filename); - mate_handle = create_dissector_handle(mate_tree, proto_mate); - - register_postdissector(mate_handle); + mate_handle = find_dissector("mate"); + register_postdissector(mate_handle); } |