Changeset 77875 in vbox for trunk/src/VBox/Main/src-server/HostImpl.cpp
- Timestamp:
- Mar 26, 2019 8:11:25 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostImpl.cpp
r77804 r77875 762 762 { 763 763 hrc = hif->EnableDynamicIPConfig(); 764 LogRel(("EnableDynamicIPConfig returned 0x%x\n", hrc)); 764 if (FAILED(hrc)) 765 LogRel(("EnableDynamicIPConfig failed with 0x%x\n", hrc)); 765 766 } 766 767 else 767 768 { 768 769 hrc = hif->EnableStaticIPConfig(pInfo->strIPv4Address.raw(), pInfo->strIPv4NetMask.raw()); 769 LogRel(("EnableStaticIpConfig returned 0x%x\n", hrc)); 770 if (FAILED(hrc)) 771 LogRel(("EnableStaticIpConfig failed with 0x%x\n", hrc)); 770 772 } 771 773 # if 0 … … 774 776 { 775 777 hrc = hif->EnableStaticIPConfigV6(pInfo->strIPv6Address.raw(), pInfo->uIPv6PrefixLength); 776 LogRel(("EnableStaticIPConfigV6 returned 0x%x\n", hrc)); 778 if (FAILED(hrc)) 779 LogRel(("EnableStaticIPConfigV6 failed with 0x%x\n", hrc)); 777 780 } 778 781 # endif … … 1542 1545 #ifdef RT_OS_WINDOWS 1543 1546 rc = i_removePersistentConfig(Utf8StrFmt("%RTuuid", &aId)); 1544 LogRel(("i_removePersistentConfig(%RTuuid) returned %d\n", &aId, r)); 1547 if (FAILED(rc)) 1548 LogRel(("i_removePersistentConfig(%RTuuid) failed with 0x%x\n", &aId, rc)); 1545 1549 #else /* !RT_OS_WINDOWS */ 1546 1550 rc = m->pParent->SetExtraData(BstrFmt("HostOnly/%ls/IPAddress", name.raw()).raw(), NULL);
Note:
See TracChangeset
for help on using the changeset viewer.