diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-09-04 07:52:50 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-09-17 13:42:31 +0200 |
commit | e1b3d47751a420835cb0560fd029c39fea961a79 (patch) | |
tree | e247aa0de1bf31344b66dc89e6cac10ce3ab1210 /ui/vnc.c | |
parent | d2329237af197429492ec27d22a4ba4f121dbc10 (diff) |
vnc: fix websocket field in events
Just need to fill VncClientInfo.websocket in vnc_client_cache_addr().
Buglink: https://bugzilla.redhat.com/show_bug.cgi?id=1748175
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20190904055250.22421-1-kraxel@redhat.com
Diffstat (limited to 'ui/vnc.c')
-rw-r--r-- | ui/vnc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -278,6 +278,7 @@ static void vnc_client_cache_addr(VncState *client) vnc_init_basic_info_from_remote_addr(client->sioc, qapi_VncClientInfo_base(client->info), &err); + client->info->websocket = client->websocket; if (err) { qapi_free_VncClientInfo(client->info); client->info = NULL; |