From ed9b8ae69f9cc06913f71125535912cb8cf905b4 Mon Sep 17 00:00:00 2001 From: Uri Lublin Date: Sun, 9 Jan 2011 10:17:49 +0200 Subject: spice-client migration: fix minor for old migration support. For not too old spice-migration, minor is 1. For older (ancient) spice-migration, minor is 0. Affects only VM migration while a spice client is connected. --- client/red_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/red_client.cpp') diff --git a/client/red_client.cpp b/client/red_client.cpp index ac045558..ea852786 100644 --- a/client/red_client.cpp +++ b/client/red_client.cpp @@ -259,7 +259,7 @@ void Migrate::start(const SpiceMsgMainMigrationBegin* migrate) { DBG(0, ""); abort(); - if ((_client.get_peer_major() == 1) && (_client.get_peer_minor() < 2)) { + if ((_client.get_peer_major() == 1) && (_client.get_peer_minor() < 1)) { LOG_INFO("server minor version incompatible for destination authentication" "(missing dest pubkey in SpiceMsgMainMigrationBegin)"); OldRedMigrationBegin* old_migrate = (OldRedMigrationBegin*)migrate; -- cgit