diff options
author | Bill Meier <wmeier@newsguy.com> | 2008-09-30 14:49:44 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2008-09-30 14:49:44 +0000 |
commit | aa30dcd1293b7eb218140724a377092afa35ffb3 (patch) | |
tree | 21bec07f4ce388acf73efea72c9696b307917019 /epan/dissectors/packet-pw-eth.c | |
parent | 09bef39f3d55816f2ea3374972bf97c244775ed8 (diff) |
Minor proto_reg_handoff cleanup: use find_dissector when appropriate.
svn path=/trunk/; revision=26308
Diffstat (limited to 'epan/dissectors/packet-pw-eth.c')
-rw-r--r-- | epan/dissectors/packet-pw-eth.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-pw-eth.c b/epan/dissectors/packet-pw-eth.c index d9dd6e7ab7..9a6db5ba61 100644 --- a/epan/dissectors/packet-pw-eth.c +++ b/epan/dissectors/packet-pw-eth.c @@ -150,9 +150,8 @@ proto_reg_handoff_pw_eth(void) eth_withoutfcs_handle = find_dissector("eth_withoutfcs"); - pw_eth_handle = create_dissector_handle(dissect_pw_eth, proto_pw_eth); + pw_eth_handle = find_dissector("pw_eth"); dissector_add("mpls.label", LABEL_INVALID, pw_eth_handle); - pw_eth_handle_nocw = create_dissector_handle(dissect_pw_eth_nocw, - proto_pw_eth_nocw); + pw_eth_handle_nocw = find_dissector("pw_eth_nocw"); dissector_add("mpls.label", LABEL_INVALID, pw_eth_handle_nocw); } |