Changeset 43524 in vbox
- Timestamp:
- Oct 3, 2012 6:20:22 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/HostImpl.cpp
r43471 r43524 2863 2863 /* At this point listCopy will contain newly discovered interfaces only. */ 2864 2864 for (itNew = listCopy.begin(); itNew != listCopy.end(); ++itNew) 2865 (*itNew)->registerMetrics(aCollector, this); 2865 { 2866 HostNetworkInterfaceType_T t; 2867 HRESULT hr = (*it)->COMGETTER(InterfaceType)(&t); 2868 if (FAILED(hr)) 2869 { 2870 Bstr n; 2871 (*it)->COMGETTER(Name) (n.asOutParam()); 2872 LogRel(("Host::updateNetIfList: failed to get interface type for %ls\n", n.raw())); 2873 } 2874 else if (t == HostNetworkInterfaceType_Bridged) 2875 (*itNew)->registerMetrics(aCollector, this); 2876 } 2866 2877 m->llNetIfs = list; 2867 2878 return S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.