summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mime-encap.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:14:26 +0000
commitc4e8a3222648fcf22ca207f1815ebbf7cd144eeb (patch)
tree93d5c6aa93d9987680dd1adad5685e2ad698f223 /epan/dissectors/packet-mime-encap.c
parentAdding upstream version 4.2.6. (diff)
downloadwireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.tar.xz
wireshark-c4e8a3222648fcf22ca207f1815ebbf7cd144eeb.zip
Adding upstream version 4.4.0.upstream/4.4.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-mime-encap.c')
-rw-r--r--epan/dissectors/packet-mime-encap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mime-encap.c b/epan/dissectors/packet-mime-encap.c
index 2ad85539..f2ad9e35 100644
--- a/epan/dissectors/packet-mime-encap.c
+++ b/epan/dissectors/packet-mime-encap.c
@@ -16,7 +16,7 @@
void proto_register_mime_encap(void);
void proto_reg_handoff_mime_encap(void);
-static int proto_mime_encap = -1;
+static int proto_mime_encap;
static dissector_handle_t mime_encap_handle;
@@ -46,7 +46,7 @@ proto_register_mime_encap(void)
proto_mime_encap = proto_register_protocol("MIME file", "MIME_FILE", "mime_dlt");
mime_encap_handle = register_dissector("mime_dlt", dissect_mime_encap, proto_mime_encap);
- heur_subdissector_list = register_heur_dissector_list("wtap_file", proto_mime_encap);
+ heur_subdissector_list = register_heur_dissector_list_with_description("wtap_file", "MIME file", proto_mime_encap);
}
void