aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sll.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-sll.c')
-rw-r--r--epan/dissectors/packet-sll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sll.c b/epan/dissectors/packet-sll.c
index 642378cb5c..76463a3787 100644
--- a/epan/dissectors/packet-sll.c
+++ b/epan/dissectors/packet-sll.c
@@ -353,8 +353,8 @@ proto_reg_handoff_sll(void)
*/
gre_dissector_table = find_dissector_table("gre.proto");
data_handle = find_dissector("data");
- ethertype_handle = find_dissector("ethertype");
- netlink_handle = find_dissector("netlink");
+ ethertype_handle = find_dissector_add_dependency("ethertype", proto_sll);
+ netlink_handle = find_dissector_add_dependency("netlink", proto_sll);
dissector_add_uint("wtap_encap", WTAP_ENCAP_SLL, sll_handle);
register_capture_dissector("wtap_encap", WTAP_ENCAP_SLL, capture_sll, hfi_sll->id);