Changeset 49199 in vbox for trunk/src/VBox/NetworkServices/NAT
- Timestamp:
- Oct 20, 2013 11:46:01 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 90082
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/VBoxNetLwipNAT.cpp
r49198 r49199 868 868 int VBoxNetLwipNAT::init() 869 869 { 870 com::Bstr bstr;871 870 int rc = VINF_SUCCESS; 871 HRESULT hrc; 872 872 LogFlowFuncEnter(); 873 873 … … 875 875 /* virtualbox initialized in super class */ 876 876 877 HRESULT hrc;878 877 hrc = virtualbox->FindNATNetworkByName(com::Bstr(m_Network.c_str()).raw(), 879 878 m_net.asOutParam()); … … 916 915 com::Bstr bstrSourceIp4Key = com::BstrFmt("NAT/%s/SourceIp4",m_Network.c_str()); 917 916 com::Bstr bstrSourceIpX; 918 RTNETADDRIPV4 addr;919 917 hrc = virtualbox->GetExtraData(bstrSourceIp4Key.raw(), bstrSourceIpX.asOutParam()); 920 918 if (SUCCEEDED(hrc)) 921 919 { 920 RTNETADDRIPV4 addr; 922 921 rc = RTNetStrToIPv4Addr(com::Utf8Str(bstrSourceIpX).c_str(), &addr); 923 922 if (RT_SUCCESS(rc)) … … 1008 1007 } 1009 1008 1009 com::Bstr bstr; 1010 1010 hrc = virtualbox->COMGETTER(HomeFolder)(bstr.asOutParam()); 1011 1011 AssertComRCReturn(hrc, VERR_NOT_FOUND);
Note:
See TracChangeset
for help on using the changeset viewer.