diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-08 21:06:20 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-09 03:12:23 +0000 |
commit | a391a70b3b05c3a3c95bcb9020b37adb6c0af010 (patch) | |
tree | 5ecb0fd83c3dc0216c96bb429188296302edcdb7 /epan/dissectors/packet-h501.c | |
parent | 1a1893ad54a402bda3b77262ecaf68cfe9831368 (diff) |
"new" dissector API -> dissector API for ASN.1 dissectors.
Change-Id: I7b794cba2feda2cae40411e2b1cb9fb091d08220
Reviewed-on: https://code.wireshark.org/review/12480
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-h501.c')
-rw-r--r-- | epan/dissectors/packet-h501.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-h501.c b/epan/dissectors/packet-h501.c index 85f9b52427..1dfa5d1596 100644 --- a/epan/dissectors/packet-h501.c +++ b/epan/dissectors/packet-h501.c @@ -3675,7 +3675,7 @@ void proto_register_h501(void) { proto_register_field_array(proto_h501, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector(PFNAME, dissect_h501_pdu, proto_h501); + register_dissector(PFNAME, dissect_h501_pdu, proto_h501); h501_module = prefs_register_protocol(proto_h501, proto_reg_handoff_h501); prefs_register_uint_preference(h501_module, "udp.port", @@ -3704,8 +3704,8 @@ void proto_reg_handoff_h501(void) if (!h501_prefs_initialized) { h501_pdu_handle = find_dissector(PFNAME); - h501_udp_handle = new_create_dissector_handle(dissect_h501_udp, proto_h501); - h501_tcp_handle = new_create_dissector_handle(dissect_h501_tcp, proto_h501); + h501_udp_handle = create_dissector_handle(dissect_h501_udp, proto_h501); + h501_tcp_handle = create_dissector_handle(dissect_h501_tcp, proto_h501); h501_prefs_initialized = TRUE; } else { dissector_delete_uint("udp.port", saved_h501_udp_port, h501_udp_handle); |