diff options
author | runge <runge> | 2005-03-05 01:06:05 +0000 |
---|---|---|
committer | runge <runge> | 2005-03-05 01:06:05 +0000 |
commit | b8b96689bf29ae1b2fca12a59be9196d6a2acb25 (patch) | |
tree | 040b06215c2d5141cf6a9a1bf4fe93524b7fcc43 /libvncserver/httpd.c | |
parent | 3c4522e67652d36162d007dce1dcd798562da5fb (diff) | |
download | libtdevnc-b8b96689bf29ae1b2fca12a59be9196d6a2acb25.tar.gz libtdevnc-b8b96689bf29ae1b2fca12a59be9196d6a2acb25.zip |
add '-listen ipaddr' option
Diffstat (limited to 'libvncserver/httpd.c')
-rwxr-xr-x | libvncserver/httpd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libvncserver/httpd.c b/libvncserver/httpd.c index e169c30..b973bb6 100755 --- a/libvncserver/httpd.c +++ b/libvncserver/httpd.c @@ -102,7 +102,8 @@ rfbHttpInitSockets(rfbScreenInfoPtr rfbScreen) rfbLog(" URL http://%s:%d\n",rfbScreen->thisHost,rfbScreen->httpPort); - if ((rfbScreen->httpListenSock = rfbListenOnTCPPort(rfbScreen->httpPort)) < 0) { + if ((rfbScreen->httpListenSock = + rfbListenOnTCPPort(rfbScreen->httpPort, rfbScreen->listenInterface)) < 0) { rfbLogPerror("ListenOnTCPPort"); return; } |