Put the entire server response into the Info column as is.

Don't assume that the 3-digit code we got was followed by a blank, and
display the code followed by a blank followed by the parameters..
Instead, just put the raw text of the entire line into the Info column.

Bug: 14878
Change-Id: I1e081366bf859723158a36f10e86614fe52f124d
Reviewed-on: https://code.wireshark.org/review/28292
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-06-15 15:03:43 -07:00
parent 3d5b268323
commit 2d4b50fc3d
1 changed files with 2 additions and 2 deletions

View File

@ -1122,8 +1122,8 @@ dissect_smtp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_
proto_tree_add_item(cmdresp_tree, hf_smtp_rsp_parameter, tvb,
offset + 4, linelen - 4, ENC_ASCII|ENC_NA);
col_append_fstr(pinfo->cinfo, COL_INFO, "%d %s", code,
tvb_format_text(tvb, offset + 4, linelen - 4));
col_append_fstr(pinfo->cinfo, COL_INFO, "%s",
tvb_format_text(tvb, offset, linelen));
}
} else {
col_append_str(pinfo->cinfo, COL_INFO,