mysql: Fix capability check in login packet

The flag for ZSTD compression is part of the extended capabilities, not
the basic capabilities.
This commit is contained in:
Daniël van Eeden 2022-08-10 14:58:26 +02:00 committed by A Wireshark GitLab Utility
parent a81a7876f1
commit 7160d9e0f0
1 changed files with 1 additions and 1 deletions

View File

@ -1783,7 +1783,7 @@ mysql_dissect_login(tvbuff_t *tvb, packet_info *pinfo, int offset,
}
}
if (conn_data->clnt_caps & MYSQL_CAPS_ZS)
if (conn_data->clnt_caps_ext & MYSQL_CAPS_ZS)
{
proto_tree_add_item(login_tree, hf_mysql_zstd_compression_level, tvb, offset, 1, ENC_LITTLE_ENDIAN);
offset += 1;