VirtualBox

Changeset 1299 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Mar 7, 2007 2:13:31 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
19260
Message:

Implement configuration option in VBoxManage for the interface the RDP server binds to.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp

    r1259 r1299  
    332332            RTPrintf("                            [-vrdp on|off]\n"
    333333                     "                            [-vrdpport default|<port>]\n"
     334                     "                            [-vrdpaddress <host>]\n"
    334335                     "                            [-vrdpauthtype null|external|guest]\n");
    335336        }
     
    25782579    char *vrdp = NULL;
    25792580    uint16_t vrdpport = UINT16_MAX;
     2581    char *vrdpaddress = NULL;
    25802582    char *vrdpauthtype = NULL;
    25812583#endif
     
    29692971            else
    29702972                vrdpport = atoi(argv[i]);
     2973        }
     2974        else if (strcmp(argv[i], "-vrdpaddress") == 0)
     2975        {
     2976            if (argc <= i + 1)
     2977            {
     2978                return errorArgument("Missing argument to '%s'", argv[i]);
     2979            }
     2980            i++;
     2981            vrdpaddress = argv[i];
    29712982        }
    29722983        else if (strcmp(argv[i], "-vrdpauthtype") == 0)
     
    37113722                {
    37123723                    CHECK_ERROR(vrdpServer, COMSETTER(Port)(vrdpport));
     3724                }
     3725                if (vrdpaddress)
     3726                {
     3727                    CHECK_ERROR(vrdpServer, COMSETTER(NetAddress)(Bstr(vrdpaddress)));
    37133728                }
    37143729                if (vrdpauthtype)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette