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/vncviewer | |
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/vncviewer')
-rw-r--r-- | unix/vncviewer/vncviewer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncviewer/vncviewer.cxx b/unix/vncviewer/vncviewer.cxx index 5a4ee37d..9cbe295b 100644 --- a/unix/vncviewer/vncviewer.cxx +++ b/unix/vncviewer/vncviewer.cxx @@ -370,7 +370,7 @@ int main(int argc, char** argv) if (vncServerName && isdigit(vncServerName[0])) port = atoi(vncServerName); - TcpListener listener(port); + TcpListener listener(NULL, port); vlog.info("Listening on port %d\n",port); |