From d7921c5d5f25ea162d01f3c3ac28a4bb86ebb5b6 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 29 May 2020 14:24:06 +1000 Subject: [PATCH] [client] report the host version on mismatch if possible --- VERSION | 2 +- client/src/main.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index aa20a806..293011fd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -B2-rc2-3-g553e2830bb+1 \ No newline at end of file +B2-rc2-4-g6d296f2b44+1 \ No newline at end of file diff --git a/client/src/main.c b/client/src/main.c index 87399fa6..8fa1ed9d 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -1483,7 +1483,11 @@ static int lg_run() DEBUG_ERROR("Please install the matching host application for this client"); if (magicMatches) + { DEBUG_ERROR("Expected KVMFR version %d, got %d", KVMFR_VERSION, udata->version); + if (udata->version >= 2) + DEBUG_ERROR("Host version: %s", udata->hostver); + } else DEBUG_ERROR("Invalid KVMFR magic");