diff options
Diffstat (limited to 'epan/dissectors/packet-gmhdr.c')
-rw-r--r-- | epan/dissectors/packet-gmhdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gmhdr.c b/epan/dissectors/packet-gmhdr.c index bde563c5d5..acc0f8b2a1 100644 --- a/epan/dissectors/packet-gmhdr.c +++ b/epan/dissectors/packet-gmhdr.c @@ -519,7 +519,7 @@ proto_reg_handoff_gmhdr(void) { dissector_handle_t gmhdr_handle; - ethertype_handle = find_dissector("ethertype"); + ethertype_handle = find_dissector_add_dependency("ethertype", proto_gmhdr); gmhdr_handle = create_dissector_handle(dissect_gmhdr, proto_gmhdr); dissector_add_uint("ethertype", ETHERTYPE_GIGAMON, gmhdr_handle); |