summaryrefslogtreecommitdiffstats
path: root/libvncserver/httpd.c
diff options
context:
space:
mode:
authorrunge <runge>2005-03-05 01:06:05 +0000
committerrunge <runge>2005-03-05 01:06:05 +0000
commitb8b96689bf29ae1b2fca12a59be9196d6a2acb25 (patch)
tree040b06215c2d5141cf6a9a1bf4fe93524b7fcc43 /libvncserver/httpd.c
parent3c4522e67652d36162d007dce1dcd798562da5fb (diff)
downloadlibtdevnc-b8b96689bf29ae1b2fca12a59be9196d6a2acb25.tar.gz
libtdevnc-b8b96689bf29ae1b2fca12a59be9196d6a2acb25.zip
add '-listen ipaddr' option
Diffstat (limited to 'libvncserver/httpd.c')
-rwxr-xr-xlibvncserver/httpd.c3
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;
}