Changeset 79514 in vbox for trunk/src/VBox/NetworkServices/Dhcpd/Db.cpp
- Timestamp:
- Jul 4, 2019 8:01:58 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/Dhcpd/Db.cpp
r79509 r79514 223 223 Binding *Binding::fromXML(const xml::ElementNode *ndLease) 224 224 { 225 int rc;226 227 225 /* Lease/@network seems to always have bogus value, ignore it. */ 228 226 … … 236 234 237 235 RTMAC mac; 238 rc = RTNetStrToMacAddr(strMac.c_str(), &mac);236 int rc = RTNetStrToMacAddr(strMac.c_str(), &mac); 239 237 if (RT_FAILURE(rc)) 240 238 return NULL; … … 640 638 641 639 642 int Db::writeLeases(const std::string &strFileName) const640 int Db::writeLeases(const RTCString &strFileName) const 643 641 { 644 642 LogDHCP(("writing leases to %s\n", strFileName.c_str())); … … 684 682 685 683 686 int Db::loadLeases(const std::string &strFileName)684 int Db::loadLeases(const RTCString &strFileName) 687 685 { 688 686 LogDHCP(("loading leases from %s\n", strFileName.c_str()));
Note:
See TracChangeset
for help on using the changeset viewer.