VirtualBox

Changeset 79773 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 14, 2019 9:14:45 PM (5 years ago)
Author:
vboxsync
Message:

Main/DHCP*,VBoxManage: Some adjustments to the DHCP*Config interfaces and reworked the VBoxMAnage dhcpserver add/modify commands to support groups, fixed address assignments, setting lease times, removing group and individaul configurations, ++. todo: update man page. [fixes] bugref:9288

File:
1 edited

Legend:

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

    r79771 r79773  
    264264    {
    265265        if (m_ptrConfig.isNull())
     266        {
    266267            CHECK_ERROR2I_STMT(ptrDHCPServer, GetConfig(m_enmScope, Bstr(m_pszName).raw(), m_uSlot, TRUE /*mayAdd*/,
    267268                                                        m_ptrConfig.asOutParam()), m_ptrConfig.setNull());
     269        }
    268270        return m_ptrConfig;
    269271    }
     
    649651                        break;
    650652
    651                     DHCPGroupConditionType enmType;
     653                    DHCPGroupConditionType_T enmType;
    652654                    switch (vrc)
    653655                    {
     
    817819        if (pCtx->pCmdDef->fSubcommandScope == HELP_SCOPE_DHCPSERVER_ADD)
    818820        {
    819             RTEXITCODE rcExit = RTEXITCODE_SUCCESS;
    820821            if (!pszServerIp)
    821822                rcExit = errorSyntax("Missing required option: --ip");
     
    871872         */
    872873        HRESULT hrc;
    873         RTEXITCODE rcExit = RTEXITCODE_SUCCESS;
    874874        if (pszServerIp || pszNetmask || pszLowerIp || pszUpperIp)
    875875        {
Note: See TracChangeset for help on using the changeset viewer.

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