Skip to content
Snippets Groups Projects
Commit 4d77b1f2 authored by Yang Hongyang's avatar Yang Hongyang Committed by Gerd Hoffmann
Browse files

vnc: fix bug: vnc server can't start when 'to' is specified


commit e0d03b8c 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: default avatarYang Hongyang <hongyang.yang@easystack.cn>
Reviewed-by: default avatarDaniel P. Berrange <berrange@redhat.com>
Message-id: 1445926252-14830-1-git-send-email-hongyang.yang@easystack.cn
Cc: Daniel P. Berrange <berrange@redhat.com>
Cc: Eric Blake <eblake@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent de3f7de7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment