forked from osmocom/wireshark
MySQL: Fix query string in info column
Change-Id: I2d0aae95c41f527c4a1e0327bf6c3950204458e1 Reviewed-on: https://code.wireshark.org/review/14637 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
59ab27b9c2
commit
320090ce23
|
@ -1349,7 +1349,7 @@ mysql_dissect_request(tvbuff_t *tvb,packet_info *pinfo, int offset,
|
|||
proto_tree_add_item(req_tree, hf_mysql_query, tvb, offset, lenstr, ENC_ASCII|ENC_NA);
|
||||
if (mysql_showquery) {
|
||||
col_append_fstr(pinfo->cinfo, COL_INFO, " { %s } ",
|
||||
tvb_format_text(tvb, offset, lenstr-1));
|
||||
tvb_format_text(tvb, offset, lenstr));
|
||||
}
|
||||
offset += lenstr;
|
||||
conn_data->state = RESPONSE_TABULAR;
|
||||
|
|
Loading…
Reference in New Issue