diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2017-02-03 12:06:47 +0000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2017-02-09 17:28:49 +0100 |
commit | 57a6d6d538c596292003d131035dc4f7cb44474d (patch) | |
tree | 01cff100bed5d043c495d7a78c74f3df98a5040c /net/socket.c | |
parent | 8bd22f477f68bbd7a9c88e926e7a58bf65605e39 (diff) | |
download | qemu-57a6d6d538c596292003d131035dc4f7cb44474d.zip qemu-57a6d6d538c596292003d131035dc4f7cb44474d.tar.gz qemu-57a6d6d538c596292003d131035dc4f7cb44474d.tar.bz2 |
ui: let VNC server listen on all resolved IP addresses
Remove the limitation that the VNC server can only listen on
a single resolved IP address. This uses the new DNS resolver
API to resolve a SocketAddress struct into an array of
SocketAddress structs containing raw IP addresses. The VNC
server will then attempt to listen on all resolved IP addresses.
The server must successfully listen on at least one of the
resolved IP addresses, otherwise an error will be reported.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-id: 20170203120649.15637-7-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions