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/main.c | |
parent | 3c4522e67652d36162d007dce1dcd798562da5fb (diff) | |
download | libtdevnc-b8b96689bf29ae1b2fca12a59be9196d6a2acb25.tar.gz libtdevnc-b8b96689bf29ae1b2fca12a59be9196d6a2acb25.zip |
add '-listen ipaddr' option
Diffstat (limited to 'libvncserver/main.c')
-rw-r--r-- | libvncserver/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c index 0f68ee1..9447bf0 100644 --- a/libvncserver/main.c +++ b/libvncserver/main.c @@ -579,6 +579,8 @@ rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv, /* disable progressive updating per default */ screen->progressiveSliceHeight = 0; + screen->listenInterface = htonl(INADDR_ANY); + if(!rfbProcessArguments(screen,argc,argv)) { free(screen); return 0; |