aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mmse.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-08-07 08:34:55 +0000
committerGuy Harris <guy@alum.mit.edu>2002-08-07 08:34:55 +0000
commit48dbb301c8c753e6b8b78c7f48cf2c3cdbb1f126 (patch)
tree3a6dc4f805d706d2dab474747eaaa102459fc408 /packet-mmse.c
parent1c7b05f6655246a9894e52cdc111d8501145cd5e (diff)
downloadwireshark-48dbb301c8c753e6b8b78c7f48cf2c3cdbb1f126.tar.gz
wireshark-48dbb301c8c753e6b8b78c7f48cf2c3cdbb1f126.tar.bz2
wireshark-48dbb301c8c753e6b8b78c7f48cf2c3cdbb1f126.zip
From Tom Uijldert: modify MMSE dissector to also accept content that is
not multipart. Replace my fix to create subtrees for POST data with Tom's. svn path=/trunk/; revision=5968
Diffstat (limited to 'packet-mmse.c')
-rw-r--r--packet-mmse.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/packet-mmse.c b/packet-mmse.c
index ccd5b4a59b..746d89b3b4 100644
--- a/packet-mmse.c
+++ b/packet-mmse.c
@@ -2,7 +2,7 @@
* Routines for MMS Message Encapsulation dissection
* Copyright 2001, Tom Uijldert <tom.uijldert@cmg.nl>
*
- * $Id: packet-mmse.c,v 1.15 2002/08/05 08:37:45 guy Exp $
+ * $Id: packet-mmse.c,v 1.16 2002/08/07 08:34:55 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -613,8 +613,7 @@ dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if (field == MM_CTYPE_HDR) {
/*
* Eeehh, we're now actually back to good old WSP content-type
- * encoding for multipart/related and multipart/mixed MIME-types.
- * Let's steal that from the WSP-dissector.
+ * encoding. Let's steal that from the WSP-dissector.
*/
tvbuff_t *tmp_tvb;
guint type;
@@ -622,7 +621,7 @@ dissect_mmse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset = add_content_type(mmse_tree, tvb, offset, &type, &type_str);
tmp_tvb = tvb_new_subset(tvb, offset, -1, -1);
- add_multipart_data(mmse_tree, tmp_tvb);
+ add_post_data(mmse_tree, tmp_tvb, type, type_str);
}
}