VirtualBox

Changeset 49838 in vbox for trunk/src


Ignore:
Timestamp:
Dec 9, 2013 12:15:45 PM (11 years ago)
Author:
vboxsync
Message:

VBoxNetDHCP.cpp: G/c: -lines and todo.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp

    r49837 r49838  
    510510    AssertRCReturn(rc, rc);
    511511
     512    /* XXX: extract function here. */
    512513    com::Bstr strUpperIp, strLowerIp;
    513    
    514514    RTNETADDRIPV4 LowerAddress;
    515515    RTNETADDRIPV4 UpperAddress;
    516 
    517516    hrc = m_DhcpServer->COMGETTER(UpperIP)(strUpperIp.asOutParam());
    518517    AssertComRCReturn(hrc, VERR_INTERNAL_ERROR);
    519518    RTNetStrToIPv4Addr(com::Utf8Str(strUpperIp).c_str(), &UpperAddress);
    520 
    521519    hrc = m_DhcpServer->COMGETTER(LowerIP)(strLowerIp.asOutParam());
    522520    AssertComRCReturn(hrc, VERR_INTERNAL_ERROR);
     
    525523    RTNETADDRIPV4 address = getIpv4Address();
    526524    RTNETADDRIPV4 netmask = getIpv4Netmask();
    527 
    528525    RTNETADDRIPV4 networkId = networkid(address, netmask);
    529526    std::string name = std::string("default");
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