aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pw-eth.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2008-09-30 14:49:44 +0000
committerBill Meier <wmeier@newsguy.com>2008-09-30 14:49:44 +0000
commitaa30dcd1293b7eb218140724a377092afa35ffb3 (patch)
tree21bec07f4ce388acf73efea72c9696b307917019 /epan/dissectors/packet-pw-eth.c
parent09bef39f3d55816f2ea3374972bf97c244775ed8 (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.c5
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);
}