aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ascend.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ascend.c')
-rw-r--r--epan/dissectors/packet-ascend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ascend.c b/epan/dissectors/packet-ascend.c
index cd0edb5b0e..bbc3d73536 100644
--- a/epan/dissectors/packet-ascend.c
+++ b/epan/dissectors/packet-ascend.c
@@ -158,8 +158,8 @@ proto_reg_handoff_ascend(void)
/*
* Get handles for the Ethernet and PPP-in-HDLC-like-framing dissectors.
*/
- eth_withoutfcs_handle = find_dissector("eth_withoutfcs");
- ppp_hdlc_handle = find_dissector("ppp_hdlc");
+ eth_withoutfcs_handle = find_dissector_add_dependency("eth_withoutfcs", proto_ascend);
+ ppp_hdlc_handle = find_dissector_add_dependency("ppp_hdlc", proto_ascend);
ascend_handle = create_dissector_handle(dissect_ascend, proto_ascend);
dissector_add_uint("wtap_encap", WTAP_ENCAP_ASCEND, ascend_handle);