diff options
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; } |