aboutsummaryrefslogtreecommitdiffstats
path: root/win/vncviewer
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2010-02-05 15:54:10 +0000
committerAdam Tkac <atkac@redhat.com>2010-02-05 15:54:10 +0000
commit93ff5dbd1ad8ad595c87fc127d62d4453fd35d9a (patch)
tree452fb1bcc1287c07d799e3167cdb0167a88de0c4 /win/vncviewer
parentbe6b28efc0b45f711ba0997b0cdce3d2a06b4f63 (diff)
downloadtigervnc-93ff5dbd1ad8ad595c87fc127d62d4453fd35d9a.tar.gz
tigervnc-93ff5dbd1ad8ad595c87fc127d62d4453fd35d9a.zip
[Development] Add new "-i" and "-interface" parameters to Xvnc. Now Xvnc is able
to listen on specific interface. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3963 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/vncviewer')
-rw-r--r--win/vncviewer/vncviewer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncviewer/vncviewer.cxx b/win/vncviewer/vncviewer.cxx
index 060e8a13..f82dd259 100644
--- a/win/vncviewer/vncviewer.cxx
+++ b/win/vncviewer/vncviewer.cxx
@@ -239,7 +239,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prevInst, char* cmdLine, int cmdSho
ListenTrayIcon tray;
// Listen for reverse connections
- network::TcpListener sock(port);
+ network::TcpListener sock(NULL, port);
ListenServer listener(&sock);
// Run the view manager