diff options
author | Adam Tkac <atkac@redhat.com> | 2010-02-05 15:54:10 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2010-02-05 15:54:10 +0000 |
commit | 93ff5dbd1ad8ad595c87fc127d62d4453fd35d9a (patch) | |
tree | 452fb1bcc1287c07d799e3167cdb0167a88de0c4 /unix/x0vncserver | |
parent | be6b28efc0b45f711ba0997b0cdce3d2a06b4f63 (diff) | |
download | tigervnc-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 'unix/x0vncserver')
-rw-r--r-- | unix/x0vncserver/x0vncserver.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/x0vncserver/x0vncserver.cxx b/unix/x0vncserver/x0vncserver.cxx index ec2fd764..771f21c4 100644 --- a/unix/x0vncserver/x0vncserver.cxx +++ b/unix/x0vncserver/x0vncserver.cxx @@ -447,7 +447,7 @@ int main(int argc, char** argv) QueryConnHandler qcHandler(dpy, &server); server.setQueryConnectionHandler(&qcHandler); - TcpListener listener((int)rfbport); + TcpListener listener(NULL, (int)rfbport); vlog.info("Listening on port %d", (int)rfbport); const char *hostsData = hostsFile.getData(); |