aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hp-erm.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-hp-erm.c')
-rw-r--r--epan/dissectors/packet-hp-erm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hp-erm.c b/epan/dissectors/packet-hp-erm.c
index a0779b67e5..73255703b0 100644
--- a/epan/dissectors/packet-hp-erm.c
+++ b/epan/dissectors/packet-hp-erm.c
@@ -172,7 +172,7 @@ proto_reg_handoff_hp_erm(void)
static gboolean initialized = FALSE;
if (!initialized) {
- eth_withoutfcs_handle = find_dissector("eth_withoutfcs");
+ eth_withoutfcs_handle = find_dissector_add_dependency("eth_withoutfcs", proto_hp_erm);
hp_erm_handle = create_dissector_handle(dissect_hp_erm, proto_hp_erm);
initialized = TRUE;
} else {