aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/packet-multipart.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-multipart.c b/epan/dissectors/packet-multipart.c
index 4e90e454a0..2fe889098a 100644
--- a/epan/dissectors/packet-multipart.c
+++ b/epan/dissectors/packet-multipart.c
@@ -611,6 +611,10 @@ process_body_part(proto_tree *tree, tvbuff_t *tvb, const guint8 *boundary,
if (next_offset == offset) {
break;
}
+ if (last_field) {
+ /* Add the extra CRLF of the last field */
+ next_offset += 2;
+ }
hdr_str = tvb_get_string_enc(wmem_packet_scope(), tvb, offset, next_offset - offset, ENC_ASCII);