diff options
Diffstat (limited to 'epan/dissectors/file-file.c')
-rw-r--r-- | epan/dissectors/file-file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/file-file.c b/epan/dissectors/file-file.c index d15890de94..625a908e0c 100644 --- a/epan/dissectors/file-file.c +++ b/epan/dissectors/file-file.c @@ -398,14 +398,14 @@ proto_register_file(void) module_t *file_module; #endif - file_encap_dissector_table = register_dissector_table("ftap_encap", - "Filetap encapsulation type", FT_UINT32, BASE_DEC, DISSECTOR_TABLE_NOT_ALLOW_DUPLICATE); - proto_file = proto_register_protocol("File", "File", "file"); proto_register_field_array(proto_file, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); register_dissector("file",dissect_file_record,proto_file); + file_encap_dissector_table = register_dissector_table("ftap_encap", + "Filetap encapsulation type", proto_file, FT_UINT32, BASE_DEC, DISSECTOR_TABLE_NOT_ALLOW_DUPLICATE); + /* You can't disable dissection of "Frame", as that would be tantamount to not doing any dissection whatsoever. */ proto_set_cant_toggle(proto_file); |