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 /win/winvnc/ManagedListener.cxx | |
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 'win/winvnc/ManagedListener.cxx')
-rw-r--r-- | win/winvnc/ManagedListener.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/winvnc/ManagedListener.cxx b/win/winvnc/ManagedListener.cxx index 9bf1b9a1..f2933bb0 100644 --- a/win/winvnc/ManagedListener.cxx +++ b/win/winvnc/ManagedListener.cxx @@ -77,7 +77,7 @@ void ManagedListener::refresh() { return; try { if (port) - sock = new network::TcpListener(port, localOnly); + sock = new network::TcpListener(NULL, port, localOnly); } catch (rdr::Exception& e) { vlog.error(e.str()); } |