diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-27 06:49:39 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-27 06:49:39 +0000 |
commit | a9122b39a7392438f4de5833a2036a34d1e1ca46 (patch) | |
tree | 46ff44f21bb55556d72365c06f514a7e8db4c735 /epan/dissectors/packet-sip.c | |
parent | e2cf0e7ca2232158ad4df4ebfbed0833186d639b (diff) |
Try to decode the unknown multipart subtype anyway.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34659 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r-- | epan/dissectors/packet-sip.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c index 7f9df82a3c..ea7833665e 100644 --- a/epan/dissectors/packet-sip.c +++ b/epan/dissectors/packet-sip.c @@ -2705,6 +2705,14 @@ dissect_sip_common(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tr media_type_str_lower_case, next_tvb, pinfo, message_body_tree); + if (!found_match && + !strncmp(media_type_str_lower_case, "multipart/", sizeof("multipart/")-1)) { + /* Try to decode the unknown multipart subtype anyway */ + found_match = dissector_try_string(media_type_dissector_table, + "multipart/", + next_tvb, pinfo, + message_body_tree); + } pinfo->private_data = save_private_data; /* If no match dump as text */ } |