Changeset 17824 in vbox
- Timestamp:
- Mar 13, 2009 1:45:46 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/solaris/NetIfList-solaris.cpp
r17443 r17824 188 188 Info.enmMediumType = NETIF_T_ETHERNET; 189 189 190 HostNetworkInterfaceType_T enmType; 191 if (strncmp("vbox", szNICInstance, 4)) 192 enmType = HostNetworkInterfaceType_Bridged; 193 else 194 enmType = HostNetworkInterfaceType_HostOnly; 190 195 ComObjPtr<HostNetworkInterface> IfObj; 191 196 IfObj.createObject(); 192 if (SUCCEEDED(IfObj->init(Bstr(szNICDesc), HostNetworkInterfaceType_Bridged, &Info)))197 if (SUCCEEDED(IfObj->init(Bstr(szNICDesc), enmType, &Info))) 193 198 pList->push_back(IfObj); 194 199 }
Note:
See TracChangeset
for help on using the changeset viewer.