diff options
author | Uri Lublin <uril@redhat.com> | 2011-01-09 10:17:49 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-01-27 18:31:56 +0200 |
commit | fd4ee559a3c0f8b58a5a1e307304de3f62e981f1 (patch) | |
tree | 4e9d38abf91c563fa14102827ac0afe832c5b2ad /client | |
parent | 7b4e4f278a2f836a5afd2eb8d12288324be12151 (diff) | |
download | spice-fd4ee559a3c0f8b58a5a1e307304de3f62e981f1.tar.gz spice-fd4ee559a3c0f8b58a5a1e307304de3f62e981f1.tar.xz spice-fd4ee559a3c0f8b58a5a1e307304de3f62e981f1.zip |
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.
Diffstat (limited to 'client')
-rw-r--r-- | client/red_client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/red_client.cpp b/client/red_client.cpp index 549e9dd5..5291ded3 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; |