diff options
author | Michael Mann <mmann78@netscape.net> | 2015-12-08 22:49:44 -0500 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-09 12:37:36 +0000 |
commit | 443a7ed259f40ba5cfcc7d9c1e0fe5d7fee0d18c (patch) | |
tree | 4ff5916a71c682282482219343406bbf3f03da8b /epan/dissectors/packet-pppoe.c | |
parent | 724aeeb2b878e2044057543ea5ce2593c6661088 (diff) |
new_create_dissector_handle -> create_dissector_handle for dissector directory.
Some of the ASN.1 dissectors still generate a new_create_dissector_handle from the tool itself, so leave those for now.
Change-Id: Ic6e5803b1444d7ac24070949f5fd557909a5641f
Reviewed-on: https://code.wireshark.org/review/12484
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-pppoe.c')
-rw-r--r-- | epan/dissectors/packet-pppoe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pppoe.c b/epan/dissectors/packet-pppoe.c index fd50297171..ac3dbe538c 100644 --- a/epan/dissectors/packet-pppoe.c +++ b/epan/dissectors/packet-pppoe.c @@ -1030,7 +1030,7 @@ void proto_reg_handoff_pppoed(void) { dissector_handle_t pppoed_handle; - pppoed_handle = new_create_dissector_handle(dissect_pppoed, proto_pppoed); + pppoed_handle = create_dissector_handle(dissect_pppoed, proto_pppoed); dissector_add_uint("ethertype", ETHERTYPE_PPPOED, pppoed_handle); } @@ -1291,7 +1291,7 @@ void proto_register_pppoe(void) void proto_reg_handoff_pppoes(void) { dissector_handle_t pppoes_handle = - new_create_dissector_handle(dissect_pppoes, proto_pppoes); + create_dissector_handle(dissect_pppoes, proto_pppoes); dissector_add_uint("ethertype", ETHERTYPE_PPPOES, pppoes_handle); dissector_add_uint("wtap_encap", WTAP_ENCAP_PPP_ETHER, pppoes_handle); |