diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-10 20:56:03 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-11 03:42:37 +0000 |
commit | 1474f49f190e5cee4d049d91d360c3d7780ec3d8 (patch) | |
tree | 54f2d16e3184f70ce00d90cce79f0f0ed0635f8b /plugins/ethercat | |
parent | ad328d97a6cd9253c6fbd74b6ccca6c10be58201 (diff) |
new_register_dissector -> register_dissector for remaining uses.
Mostly plugins, but also LUA and generated skinny dissector.
Change-Id: Ifeb4205442f9a60875266b4e82841ff38b4fdb63
Reviewed-on: https://code.wireshark.org/review/12515
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins/ethercat')
-rw-r--r-- | plugins/ethercat/packet-ams.c | 2 | ||||
-rw-r--r-- | plugins/ethercat/packet-ecatmb.c | 2 | ||||
-rw-r--r-- | plugins/ethercat/packet-esl.c | 2 | ||||
-rw-r--r-- | plugins/ethercat/packet-ethercat-frame.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ethercat/packet-ams.c b/plugins/ethercat/packet-ams.c index 214a443abd..73a77117e8 100644 --- a/plugins/ethercat/packet-ams.c +++ b/plugins/ethercat/packet-ams.c @@ -1225,7 +1225,7 @@ void proto_register_ams(void) proto_register_field_array(proto_ams, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("ams", dissect_ams, proto_ams); + register_dissector("ams", dissect_ams, proto_ams); } /* The registration hand-off routing */ diff --git a/plugins/ethercat/packet-ecatmb.c b/plugins/ethercat/packet-ecatmb.c index ba8c525c29..15e8c91716 100644 --- a/plugins/ethercat/packet-ecatmb.c +++ b/plugins/ethercat/packet-ecatmb.c @@ -1942,7 +1942,7 @@ void proto_register_ecat_mailbox(void) proto_register_field_array(proto_ecat_mailbox, hf,array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("ecat_mailbox", dissect_ecat_mailbox, proto_ecat_mailbox); + register_dissector("ecat_mailbox", dissect_ecat_mailbox, proto_ecat_mailbox); } void proto_reg_handoff_ecat_mailbox(void) diff --git a/plugins/ethercat/packet-esl.c b/plugins/ethercat/packet-esl.c index dc67ee747d..ead258c0d3 100644 --- a/plugins/ethercat/packet-esl.c +++ b/plugins/ethercat/packet-esl.c @@ -354,7 +354,7 @@ proto_register_esl(void) { proto_register_field_array(proto_esl,hf,array_length(hf)); proto_register_subtree_array(ett,array_length(ett)); - new_register_dissector("esl", dissect_esl_header, proto_esl); + register_dissector("esl", dissect_esl_header, proto_esl); } void diff --git a/plugins/ethercat/packet-ethercat-frame.c b/plugins/ethercat/packet-ethercat-frame.c index 8fb5d3c83e..ca3f5e4c46 100644 --- a/plugins/ethercat/packet-ethercat-frame.c +++ b/plugins/ethercat/packet-ethercat-frame.c @@ -135,7 +135,7 @@ void proto_register_ethercat_frame(void) proto_register_field_array(proto_ethercat_frame,hf,array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); - new_register_dissector("ecatf", dissect_ethercat_frame, proto_ethercat_frame); + register_dissector("ecatf", dissect_ethercat_frame, proto_ethercat_frame); /* Define a handle (ecatf.type) for sub dissectors that want to dissect the Ethercat frame ether type (E88A4) payload. */ |