aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vntag.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-vntag.c')
-rw-r--r--epan/dissectors/packet-vntag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-vntag.c b/epan/dissectors/packet-vntag.c
index c07ef581e7..81a6da06b6 100644
--- a/epan/dissectors/packet-vntag.c
+++ b/epan/dissectors/packet-vntag.c
@@ -176,7 +176,7 @@ proto_reg_handoff_vntag(void)
vntag_handle = create_dissector_handle(dissect_vntag, proto_vntag);
dissector_add_uint("ethertype", ETHERTYPE_VNTAG, vntag_handle);
- ethertype_handle = find_dissector("ethertype");
+ ethertype_handle = find_dissector_add_dependency("ethertype", proto_vntag);
}
/*