diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2014-07-21 11:43:39 +0200 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2014-07-21 09:59:00 +0000 |
commit | bcf0ea3b212e894d75f9c441834d776c926f0d35 (patch) | |
tree | 6257adafdd0a3cd153705e566bd864562f05b368 /epan/dissectors/packet-mysql.c | |
parent | 13288b05e1d5bd0c6985b74c87ccf464e3efd917 (diff) |
display unused bytes as raw bytes not as ASCII string
Change-Id: I50c1ef94aff4d1067b6561c5a06a397216e49ee2
Reviewed-on: https://code.wireshark.org/review/3148
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Diffstat (limited to 'epan/dissectors/packet-mysql.c')
-rw-r--r-- | epan/dissectors/packet-mysql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mysql.c b/epan/dissectors/packet-mysql.c index 94aa6985ba..15f1e8aec8 100644 --- a/epan/dissectors/packet-mysql.c +++ b/epan/dissectors/packet-mysql.c @@ -773,7 +773,7 @@ mysql_dissect_greeting(tvbuff_t *tvb, packet_info *pinfo, int offset, offset = mysql_dissect_server_status(tvb, offset, greeting_tree, NULL); /* 13 bytes unused */ - proto_tree_add_item(greeting_tree, hf_mysql_unused, tvb, offset, 13, ENC_ASCII|ENC_NA); + proto_tree_add_item(greeting_tree, hf_mysql_unused, tvb, offset, 13, ENC_NA); offset += 13; /* 4.1+ server: rest of salt */ @@ -2525,7 +2525,7 @@ void proto_register_mysql(void) { &hf_mysql_unused, { "Unused", "mysql.unused", - FT_STRING, BASE_NONE, NULL, 0x0, + FT_BYTES, BASE_NONE, NULL, 0x0, NULL, HFILL }}, { &hf_mysql_passwd, |