[client] print out the client version too when there is a mismatch

This commit is contained in:
Geoffrey McRae 2021-01-05 09:18:40 +11:00
parent 12c83e82bb
commit 6c12990d26

View File

@ -1906,8 +1906,9 @@ restart:
if (magicMatches)
{
DEBUG_ERROR("Expected KVMFR version %d, got %d", KVMFR_VERSION, udata->version);
DEBUG_ERROR("Client version: %s", BUILD_VERSION);
if (udata->version >= 2)
DEBUG_ERROR("Host version: %s", udata->hostver);
DEBUG_ERROR(" Host version: %s", udata->hostver);
}
else
DEBUG_ERROR("Invalid KVMFR magic");