]> Git Repo - qemu.git/commit
vnc: fix bug: vnc server can't start when 'to' is specified
authorYang Hongyang <[email protected]>
Tue, 27 Oct 2015 06:10:52 +0000 (14:10 +0800)
committerGerd Hoffmann <[email protected]>
Tue, 3 Nov 2015 09:21:49 +0000 (10:21 +0100)
commit4d77b1f23877b579b94421d0cab2bebc79f4e171
treea1082905a667d8aab9296beef46a9ce48f6b478e
parentde3f7de7f4e257ce44cdabb90f5f17ee99624557
vnc: fix bug: vnc server can't start when 'to' is specified

commit e0d03b8ceb52 converted VNC startup to use SocketAddress,
the interface socket_listen don't have a port_offset param, so
we need to add the port offset (5900) to both 'port' and 'to' opts.
currently only 'port' is added by offset.
This patch add the port offset to 'to' opts.

Signed-off-by: Yang Hongyang <[email protected]>
Reviewed-by: Daniel P. Berrange <[email protected]>
Message-id: 1445926252[email protected]
Cc: Daniel P. Berrange <[email protected]>
Cc: Eric Blake <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
ui/vnc.c
This page took 0.024829 seconds and 4 git commands to generate.