- Timestamp:
- Dec 9, 2013 12:15:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp
r49837 r49838 510 510 AssertRCReturn(rc, rc); 511 511 512 /* XXX: extract function here. */ 512 513 com::Bstr strUpperIp, strLowerIp; 513 514 514 RTNETADDRIPV4 LowerAddress; 515 515 RTNETADDRIPV4 UpperAddress; 516 517 516 hrc = m_DhcpServer->COMGETTER(UpperIP)(strUpperIp.asOutParam()); 518 517 AssertComRCReturn(hrc, VERR_INTERNAL_ERROR); 519 518 RTNetStrToIPv4Addr(com::Utf8Str(strUpperIp).c_str(), &UpperAddress); 520 521 519 hrc = m_DhcpServer->COMGETTER(LowerIP)(strLowerIp.asOutParam()); 522 520 AssertComRCReturn(hrc, VERR_INTERNAL_ERROR); … … 525 523 RTNETADDRIPV4 address = getIpv4Address(); 526 524 RTNETADDRIPV4 netmask = getIpv4Netmask(); 527 528 525 RTNETADDRIPV4 networkId = networkid(address, netmask); 529 526 std::string name = std::string("default");
Note:
See TracChangeset
for help on using the changeset viewer.