aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-http.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2010-10-27 06:49:18 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2010-10-27 06:49:18 +0000
commit3db66ff53e8433f054a9c1391989b3daacc2bfc2 (patch)
tree8b49a972732861354c63fe62d750a162eb3565bc /epan/dissectors/packet-http.c
parentb67c9b05cb42c9cd7575a527d2995862dfd61af1 (diff)
Try to decode the unknown multipart subtype anyway.
svn path=/trunk/; revision=34658
Diffstat (limited to 'epan/dissectors/packet-http.c')
-rw-r--r--epan/dissectors/packet-http.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-http.c b/epan/dissectors/packet-http.c
index cd941adaff..3f5e14236e 100644
--- a/epan/dissectors/packet-http.c
+++ b/epan/dissectors/packet-http.c
@@ -1228,6 +1228,13 @@ dissect_http_message(tvbuff_t *tvb, int offset, packet_info *pinfo,
handle = dissector_get_string_handle(
media_type_subdissector_table,
headers.content_type);
+ if (handle == NULL &&
+ !strncmp(headers.content_type, "multipart/", sizeof("multipart/")-1)) {
+ /* Try to decode the unknown multipart subtype anyway */
+ handle = dissector_get_string_handle(
+ media_type_subdissector_table,
+ "multipart/");
+ }
}
if (handle != NULL) {
/*