summaryrefslogtreecommitdiff
path: root/server/reds.c
diff options
context:
space:
mode:
authorYonit Halperin <yhalperi@redhat.com>2013-08-14 10:56:44 -0400
committerYonit Halperin <yhalperi@redhat.com>2013-08-14 13:36:30 -0400
commited1f70c6d16ff55adf73a08f063f5d7955f4c488 (patch)
treea6a87a1ef39ccbfedd99998095558c7618c6cf62 /server/reds.c
parentc8b808bb8211e756a5e2280da173010984b71680 (diff)
main_channel: monitoring client connection status
rhbz#994175 Start monitoring if the client connection is alive after completing the bit-rate test.
Diffstat (limited to 'server/reds.c')
-rw-r--r--server/reds.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/reds.c b/server/reds.c
index ae87c908..0f81a32f 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -1718,11 +1718,10 @@ static void reds_handle_main_link(RedLinkInfo *link)
main_channel_push_name(mcc, spice_name);
if (spice_uuid_is_set)
main_channel_push_uuid(mcc, spice_uuid);
-
- main_channel_client_start_net_test(mcc);
} else {
reds_mig_target_client_add(client);
}
+ main_channel_client_start_net_test(mcc, !mig_target);
}
#define RED_MOUSE_STATE_TO_LOCAL(state) \