summaryrefslogtreecommitdiffstats
path: root/libvncclient/vncviewer.c
diff options
context:
space:
mode:
authorChristian Beier <dontmind@freeshell.org>2012-03-10 21:31:44 +0100
committerChristian Beier <dontmind@freeshell.org>2012-03-10 21:31:44 +0100
commit75bfb1f5d396b2908a9615cd02bebfc952baa045 (patch)
tree9f775fdd6b00f83cdaf7f0fc45601b825fd6521d /libvncclient/vncviewer.c
parentedc75fa4f4f0dbadf7cb21a7511626dd35a3c330 (diff)
downloadlibvncserver-75bfb1f5d396b2908a9615cd02bebfc952baa045.zip
libvncserver-75bfb1f5d396b2908a9615cd02bebfc952baa045.tar.gz
IPv6 support for LibVNCServer, part three: make reverse connections IPv6-capable.
Besided making libvncserver reverseVNC IPv6-aware, this introduces some changes on the client side as well to make clients listen on IPv6 sockets, too. Like the server side, this also uses a separate-socket approach.
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r--libvncclient/vncviewer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index 10b430f..6a4f006 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -197,6 +197,8 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
client->sock = -1;
client->listenSock = -1;
client->listenAddress = NULL;
+ client->listen6Sock = -1;
+ client->listen6Address = NULL;
client->clientAuthSchemes = NULL;
return client;
}
OpenPOWER on IntegriCloud