Strip leading spaces in unknown-extension value.

svn path=/trunk/; revision=54287
This commit is contained in:
Stig Bjørlykke 2013-12-20 09:04:12 +00:00
parent f53f20513a
commit 2548f6ee2b
1 changed files with 1 additions and 1 deletions

View File

@ -775,7 +775,7 @@ dissect_imf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree_add_item(unknown_tree, hf_imf_extension_type, tvb, unknown_offset, start_offset - 1 - unknown_offset, ENC_ASCII|ENC_NA);
/* remove 2 bytes to take off the final CRLF to make things a little prettier */
item = proto_tree_add_item(unknown_tree, hf_imf_extension_value, tvb, start_offset, end_offset - start_offset - 2, ENC_ASCII|ENC_NA);
item = proto_tree_add_item(unknown_tree, hf_imf_extension_value, tvb, value_offset, end_offset - value_offset - 2, ENC_ASCII|ENC_NA);
} else {
/* remove 2 bytes to take off the final CRLF to make things a little prettier */